public interface CleanupRankingPolicyCmd extends BusinessPolicyCommand
CleanupRankingPolicyCmd
is the interface for all
ranking cleanup business policy command implementations.
Each ranking policy must have one cleanup policy command which will
be used to remove any out of date statistic data and to summarize existing
statistic data to reduce the size of the table.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default name of this command.
|
static java.lang.String |
MODE_IMMEDIATE
Constant for clean mode "Immediate".
|
static java.lang.String |
MODE_LAST_DAY
Constant for clean mode "LastDay".
|
static java.lang.String |
MODE_LAST_HOUR
Constant for clean mode "LastHour".
|
static java.lang.String |
NAME
The name of this command.
|
static java.lang.String |
PARAM_CLEAN_INTERVAL
Constant for parameter "CleanInterval".
|
static java.lang.String |
PARAM_CLEAN_MODE
Constant for parameter "CleanMode".
|
static java.lang.String |
PARAM_VALID_PERIOD
Constant for parameter "ValidPeriod".
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
This method cleans up any unnecessary ranking statistic data.
|
void |
setRanking(Ranking ranking)
This method sets the ranking definition object.
|
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String PARAM_CLEAN_INTERVAL
static final java.lang.String PARAM_VALID_PERIOD
static final java.lang.String PARAM_CLEAN_MODE
static final java.lang.String MODE_LAST_DAY
static final java.lang.String MODE_LAST_HOUR
static final java.lang.String MODE_IMMEDIATE
void cleanup() throws ECException
ECException
void setRanking(Ranking ranking) throws ECException
ranking
- The ranking object.ECException