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