Package org.jgroups.jmx.protocols
Class UNICAST
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.UNICAST
-
- All Implemented Interfaces:
ProtocolMBean
,UNICASTMBean
public class UNICAST extends Protocol implements UNICASTMBean
- Version:
- $Id: UNICAST.java,v 1.8.6.1 2009/04/15 07:18:45 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachProtocol(Protocol p)
long
getAcksReceived()
long
getAcksSent()
int
getAgeOutCacheSize()
long
getBytesReceived()
long
getBytesSent()
java.lang.String
getLocalAddress()
long
getMaxRetransmitTime()
java.lang.String
getMembers()
long
getMessagesReceived()
long
getMessagesSent()
int
getNumberOfMessagesInReceiveWindows()
int
getNumUnackedMessages()
java.lang.String
getUnackedMessages()
long
getXmitRequestsReceived()
java.lang.String
printAgeOutCache()
java.lang.String
printConnections()
void
setMaxRetransmitTime(long max_retransmit_time)
-
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
-
-
-
Constructor Detail
-
UNICAST
public UNICAST()
-
UNICAST
public UNICAST(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in classProtocol
-
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddress
in interfaceUNICASTMBean
-
getMembers
public java.lang.String getMembers()
- Specified by:
getMembers
in interfaceUNICASTMBean
-
printConnections
public java.lang.String printConnections()
- Specified by:
printConnections
in interfaceUNICASTMBean
-
getMessagesSent
public long getMessagesSent()
- Specified by:
getMessagesSent
in interfaceUNICASTMBean
-
getMessagesReceived
public long getMessagesReceived()
- Specified by:
getMessagesReceived
in interfaceUNICASTMBean
-
getBytesSent
public long getBytesSent()
- Specified by:
getBytesSent
in interfaceUNICASTMBean
-
getBytesReceived
public long getBytesReceived()
- Specified by:
getBytesReceived
in interfaceUNICASTMBean
-
getAcksSent
public long getAcksSent()
- Specified by:
getAcksSent
in interfaceUNICASTMBean
-
getAcksReceived
public long getAcksReceived()
- Specified by:
getAcksReceived
in interfaceUNICASTMBean
-
getXmitRequestsReceived
public long getXmitRequestsReceived()
- Specified by:
getXmitRequestsReceived
in interfaceUNICASTMBean
-
getNumUnackedMessages
public int getNumUnackedMessages()
- Specified by:
getNumUnackedMessages
in interfaceUNICASTMBean
-
getUnackedMessages
public java.lang.String getUnackedMessages()
- Specified by:
getUnackedMessages
in interfaceUNICASTMBean
-
getNumberOfMessagesInReceiveWindows
public int getNumberOfMessagesInReceiveWindows()
- Specified by:
getNumberOfMessagesInReceiveWindows
in interfaceUNICASTMBean
-
getMaxRetransmitTime
public long getMaxRetransmitTime()
- Specified by:
getMaxRetransmitTime
in interfaceUNICASTMBean
-
setMaxRetransmitTime
public void setMaxRetransmitTime(long max_retransmit_time)
- Specified by:
setMaxRetransmitTime
in interfaceUNICASTMBean
-
getAgeOutCacheSize
public int getAgeOutCacheSize()
- Specified by:
getAgeOutCacheSize
in interfaceUNICASTMBean
-
printAgeOutCache
public java.lang.String printAgeOutCache()
- Specified by:
printAgeOutCache
in interfaceUNICASTMBean
-
-