public class PurgeService extends SingletonSchedulableService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mJobId
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
PurgeService() |
Modifier and Type | Method and Description |
---|---|
void |
doScheduledTask(Scheduler pScheduler,
ScheduledJob pJob)
Perform the scheduled purge task for this service.
|
void |
doStartService()
Ensure that all required properties are set
|
PurgeConfiguration |
getPurgeConfiguration()
Returns purge configuration
|
PurgeProducer |
getPurgeProducer()
Returns purge producer
|
void |
setPurgeConfiguration(PurgeConfiguration pPurgeConfiguration)
Sets property
purgeConfiguration |
void |
setPurgeProducer(PurgeProducer pPurgeProducer)
Sets property
purgeProducer |
acquireLock, getClientLockManager, getLockName, getLockTimeOut, performScheduledTask, releaseLock, setClientLockManager, setLockName, setLockTimeOut
doStopService, getJobDescription, getJobId, getJobName, getSchedule, getScheduler, getThreadMethod, getThreadMethodString, isTransactional, setJobDescription, setJobName, setSchedule, setScheduler, setThreadMethod, setThreadMethodString, setTransactional, startScheduledJob, stopScheduledJob
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public PurgeProducer getPurgeProducer()
public void setPurgeProducer(PurgeProducer pPurgeProducer)
purgeProducer
pPurgeProducer
- the purge producerpublic PurgeConfiguration getPurgeConfiguration()
public void setPurgeConfiguration(PurgeConfiguration pPurgeConfiguration)
purgeConfiguration
pPurgeConfiguration
- the purge configurationpublic void doScheduledTask(Scheduler pScheduler, ScheduledJob pJob)
doScheduledTask
in class SingletonSchedulableService
public void doStartService() throws ServiceException
doStartService
in class SchedulableService
ServiceException
- if an error occurred during the operation