public class HANotifyReleaseTimeRequest extends Object implements IHANotifyReleaseTimeRequest
| Constructor and Description |
|---|
HANotifyReleaseTimeRequest(UUID serviceUUID,
long pinnedCommitTime,
long pinnedCommitCounter,
long timestamp,
boolean isMock,
long newCommitCounter,
long newCommitTime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNewCommitCounter()
The commit counter that will be assigned to the new commit point (as
specified by the leader).
|
long |
getNewCommitTime()
The commit time that will be assigned to the new commit point (as
specified by the leader).
|
long |
getPinnedCommitCounter()
The earliest pinned commit counter on the follower.
|
long |
getPinnedCommitTime()
The earliest pinned commit time on the follower.
|
UUID |
getServiceUUID()
The service that provided this information.
|
long |
getTimestamp()
A timestamp taken during the protocol used to agree on the new release
time.
|
boolean |
isMock()
Mock responses are used when a follow is unable to provide a correct
response (typically because the follower is not yet HAReady and hence is
not able to participate in the gather).
|
String |
toString() |
public HANotifyReleaseTimeRequest(UUID serviceUUID, long pinnedCommitTime, long pinnedCommitCounter, long timestamp, boolean isMock, long newCommitCounter, long newCommitTime)
public UUID getServiceUUID()
IHANotifyReleaseTimeRequestgetServiceUUID in interface IHANotifyReleaseTimeRequestpublic long getPinnedCommitTime()
IHANotifyReleaseTimeRequestgetPinnedCommitTime in interface IHANotifyReleaseTimeRequestpublic long getPinnedCommitCounter()
IHANotifyReleaseTimeRequestgetPinnedCommitCounter in interface IHANotifyReleaseTimeRequestpublic long getTimestamp()
IHANotifyReleaseTimeRequestgetTimestamp in interface IHANotifyReleaseTimeRequestpublic boolean isMock()
IHANotifyReleaseTimeRequestisMock in interface IHANotifyReleaseTimeRequestpublic long getNewCommitCounter()
IHANotifyReleaseTimeRequestgetNewCommitCounter in interface IHANotifyReleaseTimeRequestpublic long getNewCommitTime()
IHANotifyReleaseTimeRequestgetNewCommitTime in interface IHANotifyReleaseTimeRequestCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.