public static class ZookeeperSessionExpiredHandlers.ShutDownWhenSessionExpired extends Object implements ZookeeperSessionExpiredHandler
| Constructor and Description |
|---|
ShutDownWhenSessionExpired(ZooKeeperSessionWatcher.ShutdownService shutdownService) |
| Modifier and Type | Method and Description |
|---|---|
void |
onSessionExpired() |
void |
setWatcher(ZooKeeperSessionWatcher watcher) |
public ShutDownWhenSessionExpired(ZooKeeperSessionWatcher.ShutdownService shutdownService)
public void setWatcher(ZooKeeperSessionWatcher watcher)
setWatcher in interface ZookeeperSessionExpiredHandlerpublic void onSessionExpired()
onSessionExpired in interface ZookeeperSessionExpiredHandlerCopyright © 2017–2021 Apache Software Foundation. All rights reserved.