org.jgroups.jmx.protocols
Interface TPMBean

All Superinterfaces:
ProtocolMBean
All Known Subinterfaces:
TCP_NIOMBean, TCPMBean, UDPMBean
All Known Implementing Classes:
TCP, TCP_NIO, TP, UDP

public interface TPMBean
extends ProtocolMBean

Version:
$Id: TPMBean.java,v 1.5 2005/11/09 17:42:52 belaban Exp $
Author:
Bela Ban

Method Summary
 java.lang.String getBindAddress()
           
 long getBytesReceived()
           
 long getBytesSent()
           
 java.lang.String getChannelName()
           
 int getIncomingQueueSize()
           
 Address getLocalAddress()
           
 int getMaxBundleSize()
           
 long getMaxBundleTimeout()
           
 long getMessagesReceived()
           
 long getMessagesSent()
           
 int getOutgoingQueueMaxSize()
           
 int getOutgoingQueueSize()
           
 java.util.List getReceiveInterfaces()
           
 java.util.List getSendInterfaces()
           
 boolean isDiscardIncompatiblePackets()
           
 boolean isEnableBundling()
           
 boolean isLoopback()
           
 boolean isReceiveOnAllInterfaces()
           
 boolean isSendOnAllInterfaces()
           
 boolean isUseIncomingPacketHandler()
           
 boolean isUseOutgoungPacketHandler()
           
 void setBindAddress(java.lang.String bind_address)
           
 void setDiscardIncompatiblePackets(boolean flag)
           
 void setEnableBundling(boolean flag)
           
 void setLoopback(boolean b)
           
 void setMaxBundleSize(int size)
           
 void setMaxBundleTimeout(long timeout)
           
 void setOutgoingQueueMaxSize(int new_size)
           
 
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, setProperties, setStatsEnabled, start, stop
 

Method Detail

getLocalAddress

Address getLocalAddress()

getBindAddress

java.lang.String getBindAddress()

getChannelName

java.lang.String getChannelName()

getMessagesSent

long getMessagesSent()

getMessagesReceived

long getMessagesReceived()

getBytesSent

long getBytesSent()

getBytesReceived

long getBytesReceived()

setBindAddress

void setBindAddress(java.lang.String bind_address)
                    throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

isReceiveOnAllInterfaces

boolean isReceiveOnAllInterfaces()

getReceiveInterfaces

java.util.List getReceiveInterfaces()

isSendOnAllInterfaces

boolean isSendOnAllInterfaces()

getSendInterfaces

java.util.List getSendInterfaces()

isDiscardIncompatiblePackets

boolean isDiscardIncompatiblePackets()

setDiscardIncompatiblePackets

void setDiscardIncompatiblePackets(boolean flag)

isEnableBundling

boolean isEnableBundling()

setEnableBundling

void setEnableBundling(boolean flag)

getMaxBundleSize

int getMaxBundleSize()

setMaxBundleSize

void setMaxBundleSize(int size)

getMaxBundleTimeout

long getMaxBundleTimeout()

setMaxBundleTimeout

void setMaxBundleTimeout(long timeout)

getOutgoingQueueSize

int getOutgoingQueueSize()

getIncomingQueueSize

int getIncomingQueueSize()

isLoopback

boolean isLoopback()

setLoopback

void setLoopback(boolean b)

isUseIncomingPacketHandler

boolean isUseIncomingPacketHandler()

isUseOutgoungPacketHandler

boolean isUseOutgoungPacketHandler()

getOutgoingQueueMaxSize

int getOutgoingQueueMaxSize()

setOutgoingQueueMaxSize

void setOutgoingQueueMaxSize(int new_size)


Copyright ? 1998-2006 Bela Ban. All Rights Reserved.