Package org.jgroups.jmx.protocols
Interface BARRIERMBean
- All Superinterfaces:
ProtocolMBean
- All Known Implementing Classes:
BARRIER
JMX interface for BARRIER protocol.
- Author:
- rpike
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the current count of in-flight threads.long
Gets configured max_close_time value (ms).boolean
isClosed()
Indicates if barrier is currently closed.boolean
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 Details
-
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
-