public class ZookeeperQuiesceHandler extends Object implements Closeable
Constructor and Description |
---|
ZookeeperQuiesceHandler(String puName,
org.openspaces.zookeeper.attribute_store.ZooKeeperAttributeStore attributeStore) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ZookeeperClient zookeeperClient,
PUServiceBeanImpl bean) |
void |
close() |
InternalQuiesceDetails |
getUpdatedQuiesceDetails() |
static String |
getZkPath(String puName) |
void |
updateInstanceState(InternalQuiesceDetails details) |
public ZookeeperQuiesceHandler(String puName, org.openspaces.zookeeper.attribute_store.ZooKeeperAttributeStore attributeStore)
public void addListener(ZookeeperClient zookeeperClient, PUServiceBeanImpl bean)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public InternalQuiesceDetails getUpdatedQuiesceDetails()
public void updateInstanceState(InternalQuiesceDetails details)
Copyright © GigaSpaces.