public class ZKConnectionListener extends Object implements org.apache.curator.framework.state.ConnectionStateListener
Modifier and Type | Field and Description |
---|---|
static String |
CONF_SHUTDOWN_ON_TIMEOUT |
Constructor and Description |
---|
ZKConnectionListener() |
Modifier and Type | Method and Description |
---|---|
static org.apache.curator.framework.state.ConnectionState |
getZKConnectionState() |
void |
stateChanged(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.state.ConnectionState newState) |
public static final String CONF_SHUTDOWN_ON_TIMEOUT
public ZKConnectionListener()
public void stateChanged(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState)
stateChanged
in interface org.apache.curator.framework.state.ConnectionStateListener
public static org.apache.curator.framework.state.ConnectionState getZKConnectionState()
Copyright © 2016 Apache Software Foundation. All rights reserved.