public class SaaSOrgSiteCronTask extends SimpleCronTask
Modifier and Type | Field and Description |
---|---|
static int |
AUTOCOMMIT_LIMIT
automatically commit after this number of delete or insert statements have been sent to the DB
|
Constructor and Description |
---|
SaaSOrgSiteCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
Perform the task.
|
java.lang.String |
getInstanceName()
Returns the crontask instance name
|
boolean |
previouslyRun()
Initiate the value based on taskscheduler record for the crontask.
|
void |
readConfig() |
void |
start()
Initialize the crontask, read in the configuration data and prepare a UserInfo object.
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameters, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, init, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, stop
public static final int AUTOCOMMIT_LIMIT
public void start()
start
in interface CronTask
start
in class SimpleCronTask
CronTask.stop()
,
startup()
public boolean previouslyRun() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void cronAction()
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
SimpleCronTask.cronAction()
public void readConfig() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getInstanceName()