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()
IHANotifyReleaseTimeRequest
getServiceUUID
in interface IHANotifyReleaseTimeRequest
public long getPinnedCommitTime()
IHANotifyReleaseTimeRequest
getPinnedCommitTime
in interface IHANotifyReleaseTimeRequest
public long getPinnedCommitCounter()
IHANotifyReleaseTimeRequest
getPinnedCommitCounter
in interface IHANotifyReleaseTimeRequest
public long getTimestamp()
IHANotifyReleaseTimeRequest
getTimestamp
in interface IHANotifyReleaseTimeRequest
public boolean isMock()
IHANotifyReleaseTimeRequest
isMock
in interface IHANotifyReleaseTimeRequest
public long getNewCommitCounter()
IHANotifyReleaseTimeRequest
getNewCommitCounter
in interface IHANotifyReleaseTimeRequest
public long getNewCommitTime()
IHANotifyReleaseTimeRequest
getNewCommitTime
in interface IHANotifyReleaseTimeRequest
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.