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()
IHAGatherReleaseTimeRequest
token
in interface IHAGatherReleaseTimeRequest
public long getTimestampOnLeader()
IHAGatherReleaseTimeRequest
getTimestampOnLeader
in interface IHAGatherReleaseTimeRequest
public UUID getLeaderId()
IHAGatherReleaseTimeRequest
getLeaderId
in interface IHAGatherReleaseTimeRequest
public long getNewCommitCounter()
IHAGatherReleaseTimeRequest
getNewCommitCounter
in interface IHAGatherReleaseTimeRequest
public long getNewCommitTime()
IHAGatherReleaseTimeRequest
getNewCommitTime
in interface IHAGatherReleaseTimeRequest
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.