public interface RestartFunctions
Modifier and Type | Method and Description |
---|---|
void |
clearApplicationRestartData(ExecutionContext context)
Clears the information about previous application restart.
|
void |
explicitFinishing(ExecutionContext context)
Specifies that the current model instance starting is finished explicitly,
by calling the modelInstanceStartSucceeded() function.
|
EnumerationImpl |
getStartStatus(ExecutionContext context,
RecordHolder modelInstance)
Return start status for given model instance
|
MapHolder |
getStartStatuses(ExecutionContext context,
SetHolder modelInstances)
Return start statuses for given model instances
|
void |
modelInstanceStartSucceeded(ExecutionContext context)
Tells that the model instance starting succeded.
|
void |
setCountOfModelInstancesToStart(ExecutionContext context,
Decimal count)
Sets the number of model instances to be restarted.
|
void |
watchStarting(ExecutionContext context,
RecordHolder modelInstance)
Adds the model instance to a list of started model instances.
|
void clearApplicationRestartData(ExecutionContext context)
context
- void watchStarting(ExecutionContext context, RecordHolder modelInstance)
context
- modelInstance
- void modelInstanceStartSucceeded(ExecutionContext context)
context
- void explicitFinishing(ExecutionContext context)
context
- void setCountOfModelInstancesToStart(ExecutionContext context, Decimal count)
context
- count
- EnumerationImpl getStartStatus(ExecutionContext context, RecordHolder modelInstance) throws ErrorException
context
- modelInstance
- ErrorException
MapHolder getStartStatuses(ExecutionContext context, SetHolder modelInstances) throws ErrorException
context
- modelInstances
- ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.