Package | Description |
---|---|
org.apache.curator.framework.recipes.leader |
Modifier and Type | Method and Description |
---|---|
void |
LeaderLatch.addListener(LeaderLatchListener listener)
Attaches a listener to this LeaderLatch
Attaching the same listener multiple times is a noop from the second time on.
|
void |
LeaderLatch.addListener(LeaderLatchListener listener,
Executor executor)
Attaches a listener to this LeaderLatch
Attaching the same listener multiple times is a noop from the second time on.
|
void |
LeaderLatch.removeListener(LeaderLatchListener listener)
Removes a given listener from this LeaderLatch
|
Copyright © 2011–2013 The Apache Software Foundation. All rights reserved.