Class ThreadGate<R>

java.lang.Object
com.oracle.coherence.common.util.ThreadGate<R>
com.tangosol.util.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_open, f_openSentry, GATE_CLOSED, GATE_CLOSING, GATE_DESTROYED, GATE_OPEN
  • Constructor Summary

    Constructors
    Constructor
    Description
    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, lock, makeCounter, makeCounterFromHolder, onInterruptedException, open, open, openInternal, setCloseCount, setCloser, toString, unlock, updateStatus

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.oracle.coherence.common.util.Gate

    barEntry, close, close, enter, enter, exit, isClosed, isClosedByCurrentThread, isEnteredByCurrentThread, open
  • Constructor Details

    • ThreadGate

      public ThreadGate()
      Default constructor.
    • ThreadGate

      public ThreadGate(R resource)
      Construct a gate protecting the specified resource.
      Parameters:
      resource - the resource, or null