public class UnknownMasterException extends StateChangeException
This exception typically indicates there is a system level problem. It could indicate for example, that a sufficient number of nodes are not available to hold an election and elect a Master, or that this node was having problems with the network and was unable to communicate with other nodes.
The application can choose to retry the operation, potentially logging the problem, until the underlying system level problem has been addressed.
Constructor and Description |
---|
UnknownMasterException(com.sleepycat.je.txn.Locker locker,
StateChangeEvent stateChangeEvent) |
UnknownMasterException(java.lang.String message)
Used when the inability to determine a master is not related to a
state change.
|
UnknownMasterException(java.lang.String message,
java.lang.Exception reason)
Used when the inability to determine a master is not related to a
state change but some inability to communicate with a node identified
as a master.
|
getEvent
getMessage
public UnknownMasterException(com.sleepycat.je.txn.Locker locker, StateChangeEvent stateChangeEvent)
public UnknownMasterException(java.lang.String message)
public UnknownMasterException(java.lang.String message, java.lang.Exception reason)
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.