|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.multicast.reliable.transport.tram.TRAMStats
TRAMStats defines the TRAM Statistics block. Applications can get a copy of this block via the getRMStatistics method support by RMxxxSocket class.
Constructor Summary | |
TRAMStats(com.sun.multicast.reliable.transport.tram.TRAMControlBlock tramblk)
Constructor. |
Method Summary | |
void |
addBytesRcvd(long count)
Adds a specified count of bytes to the bytes received counter. |
void |
addBytesReSent(long count)
Method to augment the number of bytes resent. |
void |
addBytesSent(long count)
Method to augment the number of bytes sent. |
protected void |
addDuplicateBytes(long count)
Adds a specified number of bytes to the duplicate bytes received counter. |
protected void |
addDuplicatePackets()
Increments the duplicate packets received counter. |
protected void |
addDuplicatePackets(long count)
Adds a specified number of packets to the duplicate packets received counter. |
protected void |
addLostMembers()
Adds one to the lost member count. |
protected void |
addLostMembers(int count)
Adds a specified count of members to the lost member count. |
protected void |
addPacketsNotDelivered(long count)
Adds a specified number of packets to the number of packets that were received but not delivered to the application. |
protected void |
addPacketsNotRecovered(long count)
Adds a specified number of packets to the number of packets that were not recovered because they were before the most current forgetBefore value |
protected void |
addPacketsRcvd()
Adds a packet to the total packets received counter. |
protected void |
addPacketsRcvd(long count)
Adds the specified number of packets to the number of received packet counter. |
void |
addPacketsSent()
Increments the number of data packets sent counter. |
void |
addPacketsSent(long count)
Adds a specified number of packets to the number of packet sent counter. |
protected void |
addPrunedMembers()
Adds one to the pruned member count. |
protected void |
addPrunedMembers(int count)
Adds a specified count of members to the pruned member count. |
void |
addReceiver(java.net.InetAddress address)
Adds a receiver to the Receivers list. |
protected void |
addRetransBytesRcvd(int count)
Adds a specified count of bytes to the retransmitted bytes received counter. |
void |
addSender(java.net.InetAddress address)
Adds a sender to the Senders list. |
protected java.lang.Object |
clone()
Creates a copy of the TRAM Statistics blocks and returns a reference to it. |
long |
getDataStartTime()
Gets the time at which the first data packet was received. |
int |
getDirectMemberCount()
Return the number of direct members. |
long |
getDuplicateBytes()
Gets the number of bytes of redundant data received. |
long |
getDuplicatePackets()
Gets the number of duplicate(redundant) packets received. |
int |
getIndirectMemberCount()
Return the number of indirect members. |
int |
getLostMembers()
Returns the number of members that were disowned as a result of inactiveness. |
long |
getMcastBeaconRcvd()
Get the number of multicast beacons received. |
long |
getMcastBeaconSent()
Get the number of multicast beacons sent. |
long |
getMcastControlBytesRcvd()
Get the number of multicast control bytes received. |
long |
getMcastControlBytesSent()
Get the number of multicast control bytes sent. |
long |
getMcastHARcvd()
Get the number of multicast HA messages received. |
long |
getMcastHASent()
Get the number of multicast HA messages sent. |
long |
getMcastHelloRcvd()
Get the number of multicast hellos received. |
long |
getMcastHelloSent()
Get the number of multicast hellos sent. |
long |
getMcastMSRcvd()
Get the number of multicast MS messages received. |
long |
getMcastMSSent()
Get the number of multicast MS messages sent. |
long |
getPacketsNotDelivered()
Gets the number of packets that were not delivered to the application because they were before the most current forgetBefore value. |
long |
getPacketsNotRecovered()
Gets the number of packets that were not recovered because they were before the current forgerBefore value. |
long |
getPacketsRcvd()
Gets the number of data packets received. |
long |
getPacketsSent()
Gets the number of packets sent. |
int |
getPeakMembers()
Returns the maximum number of members tuned to the multicast session. |
int |
getPrunedMembers()
Returns the number of members that were pruned during the session. |
int |
getReceiverCount()
Returns the count of receivers participating in the multicast session. |
java.net.InetAddress[] |
getReceiverList()
Returns the list of known receivers of the tuned to the multicast session. |
long |
getRetransBytesRcvd()
Gets the number of retransmitted data bytes received. |
long |
getRetransmissionsRcvd()
Gets the count of retransmission packets received. |
long |
getRetransmissionsSent()
Gets the count of retransmission packets sent. |
int |
getSenderCount()
Returns the count of senders participating in the multicast session. |
java.net.InetAddress[] |
getSenderList()
Returns the list of senders of the multicast session. |
long |
getTotalDataReceive()
Returns the bytecount of data received by this node. |
long |
getTotalDataReSent()
Returns the bytecount of data retransmitted by this node to perform repairs. |
long |
getTotalDataSent()
Returns the bytecount of data contributed to the multicast session. |
protected void |
incPacketsRcvd()
Increments the number of packets received counter by 1. |
protected void |
incRetransRcvd()
Increments retransmission packets received. |
protected void |
incRetransSent()
Increments the number of retransmission packets sent. |
void |
removeReceiver(java.net.InetAddress address)
Removes a receiver from the Receiver's list. |
void |
removeSender(java.net.InetAddress address)
Removes a sender from the Sender's list. |
protected void |
setDataStartTime(long time)
Sets the time at which the first data packet was received. |
void |
setPacketsNotDelivered(long notDelivered)
Used only by clone() |
void |
setPacketsNotRecovered(long notRecovered)
Used only by clone() |
void |
setRcvdCntlMsgCounters(com.sun.multicast.reliable.transport.tram.TRAMPacket pkt)
Set the appropriate counters for control messages which are received. |
void |
setSendCntlMsgCounters(com.sun.multicast.reliable.transport.tram.TRAMPacket pkt)
Set the appropriate counters for control messages which are sent. |
long |
ucastACKRcvd()
Get the number of unicast ACK's received. |
long |
ucastACKSent()
Get the number of unicast ACK's sent. |
long |
ucastAMRcvd()
Get the number of unicast AM messages received. |
long |
ucastAMSent()
Get the number of unicast AM messages sent. |
long |
ucastCntlBytesRcvd()
Get the number of unicast control bytes received. |
long |
ucastCntlBytesSent()
Get the number of unicast control bytes sent. |
long |
ucastCongRcvd()
Get the number of unicast congestion messages received. |
long |
ucastCongSent()
Get the number of unicast congestion messages sent. |
long |
ucastHBRcvd()
Get the number of unicast HB messages received. |
long |
ucastHBSent()
Get the number of unicast HB messages sent. |
long |
ucastHelloRcvd()
Get the number of unicast Hello's received. |
long |
ucastHelloSent()
Get the number of unicast Hello's sent. |
long |
ucastRMRcvd()
Get the number of unicast RM Messages received. |
long |
ucastRMSent()
Get the number of unicast RM Messages sent. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TRAMStats(com.sun.multicast.reliable.transport.tram.TRAMControlBlock tramblk)
tramblk
- the TRAMControlBlock for this session.Method Detail |
public int getSenderCount() throws UnsupportedException
getSenderCount
in interface RMStatistics
UnsupportedException
- if Statistics block is not supported.public java.net.InetAddress[] getSenderList() throws UnsupportedException
getSenderList
in interface RMStatistics
UnsupportedException
- if Statistics Block is not supported.public int getReceiverCount()
getReceiverCount
in interface RMStatistics
public int getDirectMemberCount()
public int getIndirectMemberCount()
public java.net.InetAddress[] getReceiverList() throws UnsupportedException
getReceiverList
in interface RMStatistics
UnsupportedException
- is thrown if Statistics block is not
supported.public long getTotalDataSent() throws UnsupportedException
getTotalDataSent
in interface RMStatistics
UnsupportedException
- if Statistics block is not supported.public long getTotalDataReSent() throws UnsupportedException
getTotalDataReSent
in interface RMStatistics
UnsupportedException
- if Statistics block is not supported.public long getTotalDataReceive() throws UnsupportedException
getTotalDataReceive
in interface RMStatistics
UnsupportedException
- if Statistics block is not supported.protected java.lang.Object clone()
clone
in class java.lang.Object
public void addSender(java.net.InetAddress address)
address
- the Address of the sender that is to be added to the
sender's list.public void removeSender(java.net.InetAddress address)
address
- The address of the sender which is to be removed from
the sender's list.public void addReceiver(java.net.InetAddress address)
address
- The address of the receiver that is to be added to the
receiver list.public void removeReceiver(java.net.InetAddress address)
address
- The address of the receiver that is to be removed from
the list.public long getPacketsSent()
public long getPacketsRcvd()
public long getDuplicatePackets()
public long getDuplicateBytes()
public long getPacketsNotRecovered()
public void setPacketsNotRecovered(long notRecovered)
public long getPacketsNotDelivered()
public void setPacketsNotDelivered(long notDelivered)
public void addBytesSent(long count)
count
- bytes to add to the total bytes sent countpublic void addBytesReSent(long count)
count
- bytes to add to the total bytes resent countpublic void addPacketsSent()
public void addPacketsSent(long count)
count
- packets to be added to the total packets sent countpublic void addBytesRcvd(long count)
count
- bytes to add to the total bytes received countprotected void addPacketsRcvd()
protected void incPacketsRcvd()
protected void addPacketsRcvd(long count)
count
- packets to add to the total packets received countprotected void addDuplicatePackets()
protected void addDuplicatePackets(long count)
count
- the number of packets to add to the total duplicate
packet countprotected void addDuplicateBytes(long count)
count
- the number of bytes to add to the total duplicate
packet byte countprotected void addPacketsNotRecovered(long count)
count
- the number of packets to add to packetsNotRecoveredprotected void addPacketsNotDelivered(long count)
count
- the number of acplets to add to packetsNotDeliveredpublic int getPeakMembers()
public int getPrunedMembers()
public int getLostMembers()
protected void addPrunedMembers()
protected void addPrunedMembers(int count)
count
- add count members to the pruned member count.protected void addLostMembers()
protected void addLostMembers(int count)
count
- add count members to the lost member count.protected void addRetransBytesRcvd(int count)
count
- bytes to add to the retransmitted bytes received countprotected void incRetransSent()
public long getRetransmissionsSent()
protected void incRetransRcvd()
public long getRetransmissionsRcvd()
public long getRetransBytesRcvd()
public long getDataStartTime()
protected void setDataStartTime(long time)
time
- - the time that is to be set.public void setRcvdCntlMsgCounters(com.sun.multicast.reliable.transport.tram.TRAMPacket pkt)
public void setSendCntlMsgCounters(com.sun.multicast.reliable.transport.tram.TRAMPacket pkt)
public long getMcastControlBytesSent()
public long getMcastControlBytesRcvd()
public long getMcastBeaconSent()
public long getMcastBeaconRcvd()
public long getMcastHelloSent()
public long getMcastHelloRcvd()
public long getMcastHASent()
public long getMcastHARcvd()
public long getMcastMSSent()
public long getMcastMSRcvd()
public long ucastCntlBytesSent()
public long ucastCntlBytesRcvd()
public long ucastAMSent()
public long ucastAMRcvd()
public long ucastRMSent()
public long ucastRMRcvd()
public long ucastHelloSent()
public long ucastHelloRcvd()
public long ucastACKSent()
public long ucastACKRcvd()
public long ucastCongSent()
public long ucastCongRcvd()
public long ucastHBSent()
public long ucastHBRcvd()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.