com.jcorporate.expresso.services.job
Class ClearOldValidation
java.lang.Object
java.lang.Thread
com.jcorporate.expresso.core.registry.ExpressoThread
com.jcorporate.expresso.core.job.Job
com.jcorporate.expresso.services.job.ClearOldValidation
- All Implemented Interfaces:
- Runnable
- public class ClearOldValidation
- extends Job
This job clears all expired validation queue entries. It is typically run
once a week or so to clean out unwanted validation items to keep the size of
the table down and remove any potential referential integrity issues.
A Job is an asynchronous task that is performed, run and the results of the
job are eventually mailed to the queuing user.
- Since:
- Expresso 5.3
- Author:
- Michael Rimov
|
Method Summary |
String |
getTitle()
Retrieve the friendly title name of the job |
void |
run()
Deletes all expired validation queue entries. |
| Methods inherited from class com.jcorporate.expresso.core.job.Job |
addFunction, addParameter, addParamValidValues, finish, finish, getCronAlarmEntry, getDataContext, getFunctions, getJobNumber, getJobParameter, getJobParameterList, getJobQueueEntry, getParameterDescription, getParameterNamesAndDescriptions, getParamValidValues, getSchema, getString, getString, getString, getString, getString, getString, getUser, hasParameters, instantiate, multiThreaded, sendMail, setCronAlarmEntry, setQueue, setSchema, setUseCron, useCron |
| Methods inherited from class com.jcorporate.expresso.core.registry.ExpressoThread |
getThreadContext |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
ClearOldValidation
public ClearOldValidation()
- Creates an instance of ClearOldValidation. Call setRequestingUid() and setDataContext()
before using.
- See Also:
SecuredDBObject.SecuredDBObject(java.lang.String, int)
run
public void run()
- Deletes all expired validation queue entries.
- Specified by:
run in interface Runnable- Overrides:
run in class Job
getTitle
public String getTitle()
- Retrieve the friendly title name of the job
- Overrides:
getTitle in class Job
- Returns:
- java.lang.String for the title.
Please see www.jcorporate.com for information about new Expresso releases.