public interface Revocable<T>
Modifier and Type | Method and 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 listener