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, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop
 

Method Detail

getLocalAddress

public Address getLocalAddress()

getBindAddress

public java.lang.String getBindAddress()

getChannelName

public java.lang.String getChannelName()

getMessagesSent

public long getMessagesSent()

getMessagesReceived

public long getMessagesReceived()

getBytesSent

public long getBytesSent()

getBytesReceived

public long getBytesReceived()

setBindAddress

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

isReceiveOnAllInterfaces

public boolean isReceiveOnAllInterfaces()

getReceiveInterfaces

public java.util.List getReceiveInterfaces()

isSendOnAllInterfaces

public boolean isSendOnAllInterfaces()

getSendInterfaces

public java.util.List getSendInterfaces()

isDiscardIncompatiblePackets

public boolean isDiscardIncompatiblePackets()

setDiscardIncompatiblePackets

public void setDiscardIncompatiblePackets(boolean flag)

isEnableBundling

public boolean isEnableBundling()

setEnableBundling

public void setEnableBundling(boolean flag)

getMaxBundleSize

public int getMaxBundleSize()

setMaxBundleSize

public void setMaxBundleSize(int size)

getMaxBundleTimeout

public long getMaxBundleTimeout()

setMaxBundleTimeout

public void setMaxBundleTimeout(long timeout)

getOutgoingQueueSize

public int getOutgoingQueueSize()

getIncomingQueueSize

public int getIncomingQueueSize()

isLoopback

public boolean isLoopback()

setLoopback

public void setLoopback(boolean b)

isUseIncomingPacketHandler

public boolean isUseIncomingPacketHandler()

isUseOutgoungPacketHandler

public boolean isUseOutgoungPacketHandler()

getOutgoingQueueMaxSize

public int getOutgoingQueueMaxSize()

setOutgoingQueueMaxSize

public void setOutgoingQueueMaxSize(int new_size)


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