Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-