| Package | Description |
|---|---|
| org.apache.zookeeper.server.watch |
| Modifier and Type | Class and Description |
|---|---|
class |
WatchManagerOptimized
Optimized in memory and time complexity, compared to WatchManager, both the
memory consumption and time complexity improved a lot, but it cannot
efficiently remove the watcher when the session or socket is closed, for
majority use case this is not a problem.
|
| Constructor and Description |
|---|
WatcherCleaner(IDeadWatcherListener listener) |
WatcherCleaner(IDeadWatcherListener listener,
int watcherCleanThreshold,
int watcherCleanIntervalInSeconds,
int watcherCleanThreadsNum,
int maxInProcessingDeadWatchers) |
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.