public class HAGatherReleaseTimeRequest extends Object implements IHAGatherReleaseTimeRequest
| Constructor and Description |
|---|
HAGatherReleaseTimeRequest(long token,
long timestampOnLeader,
UUID leaderId,
long newCommitCounter,
long newCommitTime) |
| Modifier and Type | Method and Description |
|---|---|
UUID |
getLeaderId()
The UUID of the leader.
|
long |
getNewCommitCounter()
The commit counter that will be assigned to the new commit point.
|
long |
getNewCommitTime()
The commit time that will be assigned to the new commit point.
|
long |
getTimestampOnLeader()
A timestamp on the leader at the start of the protocol used to agree on
the new release time (this can be the commitTime that will be assigned by
the leader to the new commit point).
|
long |
token()
The token for which this request is valid.
|
String |
toString() |
public HAGatherReleaseTimeRequest(long token,
long timestampOnLeader,
UUID leaderId,
long newCommitCounter,
long newCommitTime)
public long token()
IHAGatherReleaseTimeRequesttoken in interface IHAGatherReleaseTimeRequestpublic long getTimestampOnLeader()
IHAGatherReleaseTimeRequestgetTimestampOnLeader in interface IHAGatherReleaseTimeRequestpublic UUID getLeaderId()
IHAGatherReleaseTimeRequestgetLeaderId in interface IHAGatherReleaseTimeRequestpublic long getNewCommitCounter()
IHAGatherReleaseTimeRequestgetNewCommitCounter in interface IHAGatherReleaseTimeRequestpublic long getNewCommitTime()
IHAGatherReleaseTimeRequestgetNewCommitTime in interface IHAGatherReleaseTimeRequestCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.