public abstract class AsyncEventException extends Exception
Constructor and Description |
---|
AsyncEventException() |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.zookeeper.Watcher.Event.KeeperState |
getKeeperState()
Returns the error condition that temporarily triggered the watcher.
|
abstract CompletionStage<org.apache.zookeeper.WatchedEvent> |
reset()
ZooKeeper temporarily triggers watchers when there is a connection event.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public abstract org.apache.zookeeper.Watcher.Event.KeeperState getKeeperState()
reset()
to stage on the successful triggerpublic abstract CompletionStage<org.apache.zookeeper.WatchedEvent> reset()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.