Interface RevocationListener<T>
-
public interface RevocationListener<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
revocationRequested(T forLock)
Called when a revocation request has been received.
-
-
-
Method Detail
-
revocationRequested
void revocationRequested(T forLock)
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
-
-