|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.curator.framework.recipes.locks.Revoker
public class Revoker
| Method Summary | |
|---|---|
static void |
attemptRevoke(com.netflix.curator.framework.CuratorFramework client,
java.lang.String path)
Utility to mark a lock for revocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void attemptRevoke(com.netflix.curator.framework.CuratorFramework client,
java.lang.String path)
throws java.lang.Exception
RevocationListener, it will get called and the lock should be released. Note,
however, that revocation is cooperative.
client - the clientpath - the path of the lock - usually from something like
InterProcessMutex.getParticipantNodes()
java.lang.Exception - errors
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||