@PermitAll public class RestartFunctionsImpl extends 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)
RestartFunctions
clearApplicationRestartData
in interface RestartFunctions
public void watchStarting(ExecutionContext context, RecordHolder modelInstance)
RestartFunctions
watchStarting
in interface RestartFunctions
public void modelInstanceStartSucceeded(ExecutionContext context)
RestartFunctions
modelInstanceStartSucceeded
in interface RestartFunctions
public void explicitFinishing(ExecutionContext context)
RestartFunctions
explicitFinishing
in interface RestartFunctions
public void setCountOfModelInstancesToStart(ExecutionContext context, Decimal count)
RestartFunctions
setCountOfModelInstancesToStart
in interface RestartFunctions
public EnumerationImpl getStartStatus(ExecutionContext context, RecordHolder modelInstance) throws ErrorException
RestartFunctions
getStartStatus
in interface RestartFunctions
ErrorException
public MapHolder getStartStatuses(ExecutionContext context, SetHolder modelInstances) throws ErrorException
RestartFunctions
getStartStatuses
in interface RestartFunctions
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.