public class VoidLeaseManager extends Object implements LeaseManagement
LeaseManagement.LeaseManagementException| Constructor and Description |
|---|
VoidLeaseManager(TSOChannelHandler tsoChannelHandler,
TSOStateManager stateManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
startService()
Allows to start the service implementing the lease management.
|
boolean |
stillInLeasePeriod()
Check if the instance is still is under the lease period.
|
void |
stopService()
Allows to stop the service implementing the lease management.
|
public VoidLeaseManager(TSOChannelHandler tsoChannelHandler, TSOStateManager stateManager)
public void startService()
throws Exception
LeaseManagementstartService in interface LeaseManagementExceptionpublic void stopService()
throws Exception
LeaseManagementstopService in interface LeaseManagementExceptionpublic boolean stillInLeasePeriod()
LeaseManagementstillInLeasePeriod in interface LeaseManagementCopyright © 2011–2020 Apache Software Foundation. All rights reserved.