com.netflix.curator.framework.recipes.locks
Interface RevocationListener<T>


public interface RevocationListener<T>


Method Summary
 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