public class ZooKeeperSharedCount extends Object
SharedCount so that we don't expose a curator dependency in our
internal APIs. Such an exposure is problematic due to the relocation of curator.| 构造器和说明 |
|---|
ZooKeeperSharedCount(org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.shared.SharedCount sharedCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
ZooKeeperVersionedValue<Integer> |
getVersionedValue() |
void |
start() |
boolean |
trySetCount(ZooKeeperVersionedValue<Integer> previous,
int newCount) |
public ZooKeeperSharedCount(org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.shared.SharedCount sharedCount)
public void close()
throws IOException
IOExceptionpublic ZooKeeperVersionedValue<Integer> getVersionedValue()
public boolean trySetCount(ZooKeeperVersionedValue<Integer> previous, int newCount) throws Exception
ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.