org.jgroups.jmx.protocols
Interface BARRIERMBean

All Superinterfaces:
ProtocolMBean
All Known Implementing Classes:
BARRIER

public interface BARRIERMBean
extends ProtocolMBean

JMX interface for BARRIER protocol.

Author:
rpike

Method Summary
 int getInFlightThreadsCount()
          Returns the current count of in-flight threads.
 long getMaxCloseTime()
          Gets configured max_close_time value (ms).
 boolean isClosed()
          Indicates if barrier is currently closed.
 boolean isOpenerScheduled()
          Returns true if barrier_opener_future is non-null.
 
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
 

Method Detail

isClosed

boolean isClosed()
Indicates if barrier is currently closed.


getMaxCloseTime

long getMaxCloseTime()
Gets configured max_close_time value (ms).


isOpenerScheduled

boolean isOpenerScheduled()
Returns true if barrier_opener_future is non-null.


getInFlightThreadsCount

int getInFlightThreadsCount()
Returns the current count of in-flight threads.

In-flight threads are those currently processing in higher-level protocols.

Returns:
in-flight threads count


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