public class PrepareRequest extends Object
Constructor and Description |
---|
PrepareRequest(IHANotifyReleaseTimeResponse consensusReleaseTime,
IJoinedAndNonJoinedServices gatherJoinedAndNonJoinedServices,
IJoinedAndNonJoinedServices prepareJoinedAndNonJoinedServices,
IRootBlockView rootBlock,
long timeout,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
IHANotifyReleaseTimeResponse |
getConsensusReleaseTime()
The consensus release time from the GATHER.
|
IJoinedAndNonJoinedServices |
getGatherJoinedAndNonJoinedServices()
The services joined and non-joined with the met quorum as of the atomic
decision point for the GATHER.
|
IJoinedAndNonJoinedServices |
getPrepareAndNonJoinedServices()
The services joined and non-joined with the met quorum as of the atomic
decision point for the PREPARE.
|
IRootBlockView |
getRootBlock() |
long |
getTimeout() |
TimeUnit |
getUnit() |
String |
toString() |
public PrepareRequest(IHANotifyReleaseTimeResponse consensusReleaseTime, IJoinedAndNonJoinedServices gatherJoinedAndNonJoinedServices, IJoinedAndNonJoinedServices prepareJoinedAndNonJoinedServices, IRootBlockView rootBlock, long timeout, TimeUnit unit)
consensusReleaseTime
- The consensus release time from the GATHER.gatherJoinedAndNonJoinedServices
- The services joined and non-joined with the met quorum as of
the atomic decision point for the GATHER.prepareJoinedAndNonJoinedServices
- The services joined and non-joined with the met quorum as of
the atomic decision point for the PREPARE.isRootBlock0
- if this is rootBlock0.rootBlock
- The new root block.timeout
- How long to wait for the other services to prepare.unit
- The unit for the timeout.public IHANotifyReleaseTimeResponse getConsensusReleaseTime()
public IJoinedAndNonJoinedServices getGatherJoinedAndNonJoinedServices()
public IJoinedAndNonJoinedServices getPrepareAndNonJoinedServices()
public IRootBlockView getRootBlock()
public long getTimeout()
public TimeUnit getUnit()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.