|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.BARRIER
public class BARRIER
JMX wrapper for BARRIER protocol.
| Constructor Summary | |
|---|---|
BARRIER()
|
|
BARRIER(Protocol p)
|
|
| Method Summary | |
|---|---|
void |
attachProtocol(Protocol p)
|
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 class org.jgroups.jmx.Protocol |
|---|
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jgroups.jmx.ProtocolMBean |
|---|
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop |
| Constructor Detail |
|---|
public BARRIER()
public BARRIER(Protocol p)
| Method Detail |
|---|
public void attachProtocol(Protocol p)
attachProtocol in class Protocolpublic int getInFlightThreadsCount()
BARRIERMBeanIn-flight threads are those currently processing in higher-level protocols.
getInFlightThreadsCount in interface BARRIERMBeanpublic long getMaxCloseTime()
BARRIERMBean
getMaxCloseTime in interface BARRIERMBeanpublic boolean isClosed()
BARRIERMBean
isClosed in interface BARRIERMBeanpublic boolean isOpenerScheduled()
BARRIERMBean
isOpenerScheduled in interface BARRIERMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||