public class CancelLeadershipException extends RuntimeException
ConnectionStateListener.stateChanged(CuratorFramework, ConnectionState)
, will
cause LeaderSelector.interruptLeadership()
to get called. IMPORTANT: this is only supported
when thrown from ConnectionStateListener.stateChanged(CuratorFramework, ConnectionState)
.Constructor and Description |
---|
CancelLeadershipException() |
CancelLeadershipException(String message) |
CancelLeadershipException(String message,
Throwable cause) |
CancelLeadershipException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.