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