@PermitAll public class RestartFunctionsImpl extends java.lang.Object implements RestartFunctions
RestartFunctions.| Constructor and Description |
|---|
RestartFunctionsImpl() |
| 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.
|
public void clearApplicationRestartData(ExecutionContext context)
RestartFunctionsclearApplicationRestartData in interface RestartFunctionspublic void watchStarting(ExecutionContext context, RecordHolder modelInstance)
RestartFunctionswatchStarting in interface RestartFunctionspublic void modelInstanceStartSucceeded(ExecutionContext context)
RestartFunctionsmodelInstanceStartSucceeded in interface RestartFunctionspublic void explicitFinishing(ExecutionContext context)
RestartFunctionsexplicitFinishing in interface RestartFunctionspublic void setCountOfModelInstancesToStart(ExecutionContext context, Decimal count)
RestartFunctionssetCountOfModelInstancesToStart in interface RestartFunctionspublic EnumerationImpl getStartStatus(ExecutionContext context, RecordHolder modelInstance) throws ErrorException
RestartFunctionsgetStartStatus in interface RestartFunctionsErrorExceptionpublic MapHolder getStartStatuses(ExecutionContext context, SetHolder modelInstances) throws ErrorException
RestartFunctionsgetStartStatuses in interface RestartFunctionsErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.