public class ZooKeeperSharedValue extends Object
SharedValue
so that we don't expose a curator dependency in our
internal APIs. Such an exposure is problematic due to the relocation of curator.Constructor and Description |
---|
ZooKeeperSharedValue(org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.shared.SharedValue sharedValue) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte[] |
getValue() |
void |
setValue(byte[] newValue) |
void |
start() |
public ZooKeeperSharedValue(org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.shared.SharedValue sharedValue)
public void close() throws IOException
IOException
public byte[] getValue()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.