public class MIFKafkaErrorProcessingCronTask extends SimpleCronTask
| Modifier and Type | Field and Description |
|---|---|
protected static MXLogger |
logger
Cron task specific logger.
|
dbSeed, interval, intervalFlag, lastRun, lastRunDate, seed, shutdown, sleepTime, valV| Constructor and Description |
|---|
MIFKafkaErrorProcessingCronTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
cronAction()
This is the CORE METHOD of this class.
|
CrontaskParamInfo[] |
getParameters()
This method provides an array of CrontaskParamInfo() object to describe
all the parameters of the crontask.
|
protected UserInfo |
getUserInfo(java.util.Map msgProperties) |
void |
init()
Invoked by the CronTaskManager when the class is instantiated.
|
void |
process(UserInfo userInfo)
Remove all deleted tenants
|
void |
setCrontaskInstance(CrontaskInstanceRemote inst)
Cache the crontask instance this crontask object is instantiated for.
|
void |
start()
Default implementation for start().
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, stopprotected static final MXLogger logger
public void init()
SimpleCronTaskrunAsUserInfo.
Performs a silent login via SecurityService.init in interface CronTaskinit in class SimpleCronTaskSecurityService.authenticateUser(String, boolean)public void start()
SimpleCronTaskstart in interface CronTaskstart in class SimpleCronTaskCronTask.stop(),
startup()public void cronAction()
SimpleCronTaskcronAction in interface CronTaskcronAction in class SimpleCronTaskpublic CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTaskgetParameters in interface CronTaskgetParameters in class SimpleCronTaskMXExceptionjava.rmi.RemoteExceptionCrontaskParamInfopublic void setCrontaskInstance(CrontaskInstanceRemote inst)
SimpleCronTasksetCrontaskInstance in interface CronTasksetCrontaskInstance in class SimpleCronTaskCronTask.setCrontaskInstance(CrontaskInstanceRemote)public void process(UserInfo userInfo) throws MXException, java.rmi.RemoteException
java.rmi.RemoteExceptionMXExceptionprotected UserInfo getUserInfo(java.util.Map msgProperties) throws MXException
MXException