public class CancelLeadershipException
extends java.lang.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 | Description |
|---|---|
CancelLeadershipException() |
|
CancelLeadershipException(java.lang.String message) |
|
CancelLeadershipException(java.lang.String message,
java.lang.Throwable cause) |
|
CancelLeadershipException(java.lang.Throwable cause) |
public CancelLeadershipException()
public CancelLeadershipException(java.lang.String message)
public CancelLeadershipException(java.lang.String message,
java.lang.Throwable cause)
public CancelLeadershipException(java.lang.Throwable cause)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.