Constructor and Description |
---|
ClusterManagementService(IConfiguration configuration,
PriamScheduler priamScheduler) |
Modifier and Type | Method and Description |
---|---|
void |
scheduleService()
This method is called to schedule the service when we initialize it for first time ONLY.
|
void |
updateServicePost()
This method is called after we re-schedule all the services in PriamScheduler.
|
void |
updateServicePre()
This method is called before we try to update the service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onChangeUpdateService, scheduleTask
@Inject public ClusterManagementService(IConfiguration configuration, PriamScheduler priamScheduler)
public void scheduleService() throws java.lang.Exception
IService
scheduleService
in interface IService
java.lang.Exception
- if there is any error while trying to schedule the service.public void updateServicePre() throws java.lang.Exception
IService
updateServicePre
in interface IService
java.lang.Exception
- if there is any error in pre-hook method of service.public void updateServicePost() throws java.lang.Exception
IService
updateServicePost
in interface IService
java.lang.Exception
- if there is any error in post-hook method of service.