com.sleepycat.je.rep.impl.node
Class Replica.HardRecoveryElectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sleepycat.je.rep.impl.node.Replica.HardRecoveryElectionException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Replica
public static class Replica.HardRecoveryElectionException
- extends Exception
Indicates that an election is needed before the hard recovery can
proceed. Please see SR 20572 for a motivating scenario and
NetworkPartitionHealingTest for an example.
- See Also:
- Serialized Form
masterNameIdPair
final NameIdPair masterNameIdPair
lastTxnEnd
final VLSN lastTxnEnd
matchpointVLSN
final VLSN matchpointVLSN
Replica.HardRecoveryElectionException
public Replica.HardRecoveryElectionException(NameIdPair masterNameIdPair,
VLSN lastTxnEnd,
VLSN matchpointVLSN)
getMaster
public NameIdPair getMaster()
- The master that needs to be verified with an election.
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright (c) 2004-2012 Oracle. All rights reserved.