Class CompletionLockBase

java.lang.Object
org.jgrapes.core.internal.CompletionLockBase
Direct Known Subclasses:
CompletionLock

public abstract class CompletionLockBase extends Object
The base class for completeion locks.
  • Constructor Details

    • CompletionLockBase

      protected CompletionLockBase(EventBase<?> event, long timeout)
      Parameters:
      event - the event to be locked
      timeout -
  • Method Details

    • remove

      public void remove()
      Removes this completion lock from the event that it was created for.

      This method may be invoked even if the completion lock has already been removed. This allows locks to be used for disjunctive wait.