com.sleepycat.je.rep.impl.node
Class Replica.HardRecoveryElectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Field Summary
(package private)  VLSN lastTxnEnd
           
(package private)  NameIdPair masterNameIdPair
           
(package private)  VLSN matchpointVLSN
           
 
Constructor Summary
Replica.HardRecoveryElectionException(NameIdPair masterNameIdPair, VLSN lastTxnEnd, VLSN matchpointVLSN)
           
 
Method Summary
 NameIdPair getMaster()
          The master that needs to be verified with an election.
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

masterNameIdPair

final NameIdPair masterNameIdPair

lastTxnEnd

final VLSN lastTxnEnd

matchpointVLSN

final VLSN matchpointVLSN
Constructor Detail

Replica.HardRecoveryElectionException

public Replica.HardRecoveryElectionException(NameIdPair masterNameIdPair,
                                             VLSN lastTxnEnd,
                                             VLSN matchpointVLSN)
Method Detail

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-2010 Oracle. All rights reserved.