public enum CandidatePairState extends Enum<CandidatePairState>
|Enum Constant and Description
Indicates that the candidate pair is in a "Failed" state which means that a check for this pair was already done and failed, either never producing any response or producing an unrecoverable failure response.
Indicates that the candidate pair is in a "Frozen" state which means that a check for this pair hasn't been performed, and it can't yet be performed until some other check succeeds, allowing this pair to unfreeze and move into the Waiting state.
Indicates that the candidate pair is in a "In-Progress" state which means that a check has been sent for this pair, but the transaction is in progress.
Indicates that the candidate pair is in a "Succeeded" state which means that a check for this pair was already done and produced a successful result.
Indicates that the candidate pair is in a Waiting state which means that a check has not been performed for this pair, and can be performed as soon as it is the highest priority Waiting pair on the check list.
|Modifier and Type
|Field and Description
The name of this CandidatePairState instance.
|Modifier and Type
|Method and Description
Returns the name of this CandidatePairStae (e.g.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
public static final CandidatePairState WAITING
public static final CandidatePairState IN_PROGRESS
public static final CandidatePairState SUCCEEDED
public static final CandidatePairState FAILED
public static final CandidatePairState FROZEN
private final String stateName
public static CandidatePairState values()
for (CandidatePairState c : CandidatePairState.values()) System.out.println(c);
public static CandidatePairState valueOf(String name)
Copyright © 2018. All rights reserved.