Package | Description |
---|---|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicReference<Proposal.State> |
Proposal.state |
Modifier and Type | Method and Description |
---|---|
Proposal.State |
Proposal.getState()
Read the current state of the proposal.
|
static Proposal.State |
Proposal.State.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Proposal.State[] |
Proposal.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Proposal.awaitStateChange(Proposal.State notIn,
long wait,
java.util.concurrent.TimeUnit unit)
Wait for the proposal to exit a state.
|
(package private) void |
Proposal.notifyState(Proposal.State s) |