Package | Description |
---|---|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.junit.time | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.util.time |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ProposedTimestamp> |
Proposal.timestamps |
Modifier and Type | Method and Description |
---|---|
java.util.List<ProposedTimestamp> |
Proposal.getProposedTimestamps()
Get timestamps that Ketch must block for.
|
Modifier and Type | Method and Description |
---|---|
Proposal |
Proposal.addProposedTimestamp(ProposedTimestamp ts)
Request the proposal to wait for the affected timestamps to resolve.
|
private void |
ElectionRound.blockUntil(ProposedTimestamp ts) |
private void |
ProposalRound.blockUntil(ProposedTimestamp ts) |
private ObjectId |
ElectionRound.bumpTerm(Repository git,
ProposedTimestamp ts,
ObjectInserter inserter) |
private ObjectId |
ProposalRound.insertMultiProposal(Repository git,
ProposedTimestamp ts,
ObjectInserter inserter) |
private ObjectId |
ProposalRound.insertProposals(Repository git,
ProposedTimestamp ts) |
private ObjectId |
ProposalRound.insertSingleProposal(Repository git,
ProposedTimestamp ts,
ObjectInserter inserter) |
PersonIdent |
KetchSystem.newCommitter(ProposedTimestamp time)
Create new committer
PersonIdent for ketch system |
private void |
LocalReplica.update(Repository git,
ReplicaPushRequest req,
ProposedTimestamp ts) |
Modifier and Type | Method and Description |
---|---|
ProposedTimestamp |
MonotonicFakeClock.propose()
Obtain a timestamp close to "now".
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<ProposedTimestamp> |
BatchRefUpdate.timestamps
Associated timestamps that should be blocked on before update.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ProposedTimestamp> |
BatchRefUpdate.getProposedTimestamps()
Get list of timestamps the batch must wait for.
|
Modifier and Type | Method and Description |
---|---|
BatchRefUpdate |
BatchRefUpdate.addProposedTimestamp(ProposedTimestamp ts)
Request the batch to wait for the affected timestamps to resolve.
|
Constructor and Description |
---|
PersonIdent(java.lang.String aName,
java.lang.String aEmailAddress,
ProposedTimestamp when)
Construct a new
PersonIdent with current
time. |
Modifier and Type | Method and Description |
---|---|
ProposedTimestamp |
MonotonicClock.propose()
Obtain a timestamp close to "now".
|
ProposedTimestamp |
MonotonicSystemClock.propose()
Obtain a timestamp close to "now".
|
Modifier and Type | Method and Description |
---|---|
static void |
ProposedTimestamp.blockUntil(java.lang.Iterable<ProposedTimestamp> times,
java.time.Duration maxWait)
Wait for several timestamps.
|