Class ForwardingCondition

  • All Implemented Interfaces:
    java.util.concurrent.locks.Condition
    Direct Known Subclasses:
    Striped.WeakSafeCondition

    abstract class ForwardingCondition
    extends java.lang.Object
    implements java.util.concurrent.locks.Condition
    Forwarding wrapper around a Condition.
    • Constructor Detail

      • ForwardingCondition

        ForwardingCondition()
    • Method Detail

      • delegate

        abstract java.util.concurrent.locks.Condition delegate()
      • await

        public void await()
                   throws java.lang.InterruptedException
        Specified by:
        await in interface java.util.concurrent.locks.Condition
        Throws:
        java.lang.InterruptedException
      • await

        public boolean await​(long time,
                             java.util.concurrent.TimeUnit unit)
                      throws java.lang.InterruptedException
        Specified by:
        await in interface java.util.concurrent.locks.Condition
        Throws:
        java.lang.InterruptedException
      • awaitUninterruptibly

        public void awaitUninterruptibly()
        Specified by:
        awaitUninterruptibly in interface java.util.concurrent.locks.Condition
      • awaitNanos

        public long awaitNanos​(long nanosTimeout)
                        throws java.lang.InterruptedException
        Specified by:
        awaitNanos in interface java.util.concurrent.locks.Condition
        Throws:
        java.lang.InterruptedException
      • awaitUntil

        public boolean awaitUntil​(java.util.Date deadline)
                           throws java.lang.InterruptedException
        Specified by:
        awaitUntil in interface java.util.concurrent.locks.Condition
        Throws:
        java.lang.InterruptedException
      • signal

        public void signal()
        Specified by:
        signal in interface java.util.concurrent.locks.Condition
      • signalAll

        public void signalAll()
        Specified by:
        signalAll in interface java.util.concurrent.locks.Condition