InterProcessMutexpublic interface Revocable<T>
| Modifier and Type | Method | Description |
|---|---|---|
void |
makeRevocable(RevocationListener<T> listener) |
Make the lock revocable.
|
void |
makeRevocable(RevocationListener<T> listener,
java.util.concurrent.Executor executor) |
Make the lock revocable.
|
void makeRevocable(RevocationListener<T> listener)
listener - the listenervoid makeRevocable(RevocationListener<T> listener, java.util.concurrent.Executor executor)
listener - the listenerexecutor - executor for the listenerCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.