Package org.jgrapes.core.internal
Class CompletionLockBase
java.lang.Object
org.jgrapes.core.internal.CompletionLockBase
- Direct Known Subclasses:
CompletionLock
The base class for completeion locks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
remove()
Removes this completion lock from the event that it was created for.
-
Constructor Details
-
CompletionLockBase
- Parameters:
event
- the event to be lockedtimeout
-
-
-
Method Details
-
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.
-