Package com.casper.sdk.model.status
Class BlockSynchronizerStatus
- java.lang.Object
-
- com.casper.sdk.model.status.BlockSynchronizerStatus
-
public class BlockSynchronizerStatus extends java.lang.ObjectThe status of the block synchronizer builders
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockSynchronizerStatus.BlockSynchronizerStatusBuilder
-
Constructor Summary
Constructors Constructor Description BlockSynchronizerStatus()BlockSynchronizerStatus(BlockSyncStatus historical, BlockSyncStatus forward)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlockSynchronizerStatus.BlockSynchronizerStatusBuilderbuilder()BlockSyncStatusgetForward()The status of syncing a forward block, if anyBlockSyncStatusgetHistorical()The status of syncing a historical block, if anyvoidsetForward(BlockSyncStatus forward)The status of syncing a forward block, if anyvoidsetHistorical(BlockSyncStatus historical)The status of syncing a historical block, if any
-
-
-
Constructor Detail
-
BlockSynchronizerStatus
public BlockSynchronizerStatus(BlockSyncStatus historical, BlockSyncStatus forward)
-
BlockSynchronizerStatus
public BlockSynchronizerStatus()
-
-
Method Detail
-
builder
public static BlockSynchronizerStatus.BlockSynchronizerStatusBuilder builder()
-
getHistorical
public BlockSyncStatus getHistorical()
The status of syncing a historical block, if any
-
getForward
public BlockSyncStatus getForward()
The status of syncing a forward block, if any
-
setHistorical
public void setHistorical(BlockSyncStatus historical)
The status of syncing a historical block, if any
-
setForward
public void setForward(BlockSyncStatus forward)
The status of syncing a forward block, if any
-
-