public class ZookeeperSessionExpiredHandlers extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZookeeperSessionExpiredHandlers.ReconnectWhenSessionExpired |
static class |
ZookeeperSessionExpiredHandlers.ShutDownWhenSessionExpired |
| Modifier and Type | Field and Description |
|---|---|
static String |
RECONNECT_POLICY |
static String |
SHUTDOWN_POLICY |
| Constructor and Description |
|---|
ZookeeperSessionExpiredHandlers() |
| Modifier and Type | Method and Description |
|---|---|
static ZookeeperSessionExpiredHandler |
reconnectWhenZookeeperSessionExpired(PulsarService pulsarService,
ZooKeeperSessionWatcher.ShutdownService shutdownService) |
static ZookeeperSessionExpiredHandler |
shutdownWhenZookeeperSessionExpired(ZooKeeperSessionWatcher.ShutdownService shutdownService) |
public static final String SHUTDOWN_POLICY
public static final String RECONNECT_POLICY
public static ZookeeperSessionExpiredHandler shutdownWhenZookeeperSessionExpired(ZooKeeperSessionWatcher.ShutdownService shutdownService)
public static ZookeeperSessionExpiredHandler reconnectWhenZookeeperSessionExpired(PulsarService pulsarService, ZooKeeperSessionWatcher.ShutdownService shutdownService)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.