Class ThreadGate<R>

  • All Implemented Interfaces:
    com.oracle.coherence.common.util.Gate, Gate

    public class ThreadGate<R>
    extends com.oracle.coherence.common.util.ThreadGate<R>
    implements Gate
    A thin extension of ThreadGate.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.oracle.coherence.common.util.ThreadGate

        com.oracle.coherence.common.util.ThreadGate.LiteContender, com.oracle.coherence.common.util.ThreadGate.NonReentrant<R>
    • Field Summary

      • Fields inherited from class com.oracle.coherence.common.util.ThreadGate

        f_atomicState, f_exitSentry, f_openSentry, GATE_CLOSED, GATE_CLOSING, GATE_DESTROYED, GATE_OPEN
    • 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
      • Methods inherited from interface com.oracle.coherence.common.util.Gate

        barEntry, close, close, enter, enter, exit, isClosed, isClosedByCurrentThread, isEnteredByCurrentThread, open
    • 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