public class BlockMasterSyncHelper extends Object
Constructor and Description |
---|
BlockMasterSyncHelper(BlockMasterClient masterClient)
constructs an instance of the helper class.
|
Modifier and Type | Method and Description |
---|---|
static RetryPolicy |
getDefaultAcquireLeaseRetryPolicy()
Gets the default retry policy for acquiring a
RegisterLease
from the BlockMaster. |
public BlockMasterSyncHelper(BlockMasterClient masterClient)
masterClient
- the block master clientpublic static RetryPolicy getDefaultAcquireLeaseRetryPolicy()
RegisterLease
from the BlockMaster.Copyright © 2023. All Rights Reserved.