Package com.tangosol.util
Class ThreadGate<R>
- java.lang.Object
-
- com.oracle.coherence.common.util.ThreadGate<R>
-
- com.tangosol.util.ThreadGate<R>
-
-
Constructor Summary
Constructors Constructor Description ThreadGate()
Default constructor.ThreadGate(R resource)
Construct a gate protecting the specified resource.
-
Method Summary
-
Methods inherited from class com.oracle.coherence.common.util.ThreadGate
adjustThreadLocalEnters, barEntry, barEntry, barEntryInternal, close, close, close, closeInternal, decrementEnterCount, decrementEnterCountComplex, destroy, destroy, destroyInternal, doWait, ensureEnterCountMap, enter, enter, enter, enterInternal, exit, exit, exitInternal, getActiveCount, getCloseCount, getCloser, getEnterCount, getStatus, incrementEnterCount, isClosed, isClosedBy, isClosedByCurrentThread, isClosedByInternal, isEnteredBy, isEnteredByCurrentThread, isEnteredByInternal, makeCounter, makeCounterFromHolder, onInterruptedException, open, open, openInternal, setCloseCount, setCloser, toString, updateStatus
-
-
-
-
Constructor Detail
-
ThreadGate
public ThreadGate()
Default constructor.
-
ThreadGate
public ThreadGate(R resource)
Construct a gate protecting the specified resource.- Parameters:
resource
- the resource, or null
-
-