org.jgroups.jmx.protocols

Class UNICAST

Implemented Interfaces:
ProtocolMBean, UNICASTMBean

public class UNICAST
extends Protocol
implements UNICASTMBean

Version:
$Id: UNICAST.java,v 1.7 2005/08/26 14:19:09 belaban Exp $
Author:
Bela Ban

Constructor Summary

UNICAST()
UNICAST(Protocol p)

Method Summary

void
attachProtocol(Protocol p)
long
getAcksReceived()
long
getAcksSent()
long
getBytesReceived()
long
getBytesSent()
String
getLocalAddress()
String
getMembers()
long
getMessagesReceived()
long
getMessagesSent()
int
getUnackedMessages()
long
getXmitRequestsReceived()
String
printConnections()

Methods inherited from class org.jgroups.jmx.Protocol

attachProtocol, create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop

Constructor Details

UNICAST

public UNICAST()

UNICAST

public UNICAST(Protocol p)

Method Details

attachProtocol

public void attachProtocol(Protocol p)
Overrides:
attachProtocol in interface Protocol

getAcksReceived

public long getAcksReceived()
Specified by:
getAcksReceived in interface UNICASTMBean

getAcksSent

public long getAcksSent()
Specified by:
getAcksSent in interface UNICASTMBean

getBytesReceived

public long getBytesReceived()
Specified by:
getBytesReceived in interface UNICASTMBean

getBytesSent

public long getBytesSent()
Specified by:
getBytesSent in interface UNICASTMBean

getLocalAddress

public String getLocalAddress()
Specified by:
getLocalAddress in interface UNICASTMBean

getMembers

public String getMembers()
Specified by:
getMembers in interface UNICASTMBean

getMessagesReceived

public long getMessagesReceived()
Specified by:
getMessagesReceived in interface UNICASTMBean

getMessagesSent

public long getMessagesSent()
Specified by:
getMessagesSent in interface UNICASTMBean

getUnackedMessages

public int getUnackedMessages()
Specified by:
getUnackedMessages in interface UNICASTMBean

getXmitRequestsReceived

public long getXmitRequestsReceived()
Specified by:
getXmitRequestsReceived in interface UNICASTMBean

printConnections

public String printConnections()
Specified by:
printConnections in interface UNICASTMBean

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.