ProtocolMBean
, BARRIERMBean
public class BARRIER extends Protocol implements BARRIERMBean
Modifier and Type | Method | Description |
---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
public BARRIER()
public BARRIER(Protocol p)
public void attachProtocol(Protocol p)
attachProtocol
in class Protocol
public int getInFlightThreadsCount()
BARRIERMBean
In-flight threads are those currently processing in higher-level protocols.
getInFlightThreadsCount
in interface BARRIERMBean
public long getMaxCloseTime()
BARRIERMBean
getMaxCloseTime
in interface BARRIERMBean
public boolean isClosed()
BARRIERMBean
isClosed
in interface BARRIERMBean
public boolean isOpenerScheduled()
BARRIERMBean
isOpenerScheduled
in interface BARRIERMBean
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.