public class SubscriptionSchedulerCmdImpl extends ControllerCommandImpl implements SubscriptionSchedulerCmd
The command exits if an unexpected error was encountered or when it has completed executing all actions until the batch size required is reached.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
SCHEDULED_ACTIONS_QUERY
The name of the query used to retrieve the list of scheduled actions.
|
DEFAULT_BATCH_SIZE, DEFAULT_DELAY_FOR_FAILURE, DEFAULT_RETRY_COUNT_FOR_ANY_ACTION
defaultCommandClassName
Constructor and Description |
---|
SubscriptionSchedulerCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getJobProcessInterval()
This method returns the job process interval in seconds.
|
void |
performExecute()
This method executes all the scheduled actions to be executed in the
batch at this point of time.
|
void |
setJobProcessInterval(java.lang.Long interval)
This method sets the job process interval in seconds.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String SCHEDULED_ACTIONS_QUERY
public void performExecute() throws ECException
The batch size is looked up from the request properties for this
scheduler command. If the batch size is not specified, the default batch
size is used SubscriptionSchedulerCmd.DEFAULT_BATCH_SIZE
. The
look ahead interval is obtained from the subscription configuration.
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public java.lang.Long getJobProcessInterval()
public void setJobProcessInterval(java.lang.Long interval)
interval
- The value of the job process interval in seconds.