public class CleanupDatabaseJob extends JobDef
log
Constructor and Description |
---|
CleanupDatabaseJob() |
Modifier and Type | Method and Description |
---|---|
boolean |
beforeExecuteJob()
Called before executeJob to prepare resources for executeJob method.
|
void |
execute()
Actual implementation of the
IJob . |
protected Set<String> |
getAllLockerDatasourceNames()
Locate all Lockers, and find out which datasources are used.
|
protected List<nl.nn.adapterframework.scheduler.job.CleanupDatabaseJob.MessageLogObject> |
getAllMessageLogs() |
void |
setQueryTimeout(int i)
The number of seconds the database driver will wait for a statement to execute.
|
configure, decrementCountThreads, executeJob, getIbisManager, getJobDetail, getLogPrefix, getMessageKeeper, getStatisticsKeeper, incrementCountThreads, setCronExpression, setDescription, setInterval, setJobGroup, setLocker, setMessageKeeperSize, setName, setNumThreads, toString
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCronExpression, getInterval, getJobGroup, getLocker, getName, isConfigured
getApplicationContext
getConfigurationClassLoader
setApplicationContext
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public boolean beforeExecuteJob()
JobDef
beforeExecuteJob
in class JobDef
public void execute()
IJob
IJob
. Is wrapped around a Locker
, exceptions
and statistics
will be managed automatically.protected Set<String> getAllLockerDatasourceNames()
protected List<nl.nn.adapterframework.scheduler.job.CleanupDatabaseJob.MessageLogObject> getAllMessageLogs()
public void setQueryTimeout(int i)
Copyright © 2023 Frank!Framework. All rights reserved.