Interface RevocationListener<T>
public interface RevocationListener<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
revocationRequested
(T forLock) Called when a revocation request has been received.
-
Method Details
-
revocationRequested
Called when a revocation request has been received. You should release the lock as soon as possible. Revocation is cooperative.- Parameters:
forLock
- the lock that should release
-