Class PurgeScheduler
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
The Class PurgeScheduler.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPurgeScheduler(MasterServer _master, String name) Instantiates a new purge scheduler. -
Method Summary
Modifier and TypeMethodDescriptionGets the activity.getAttribute(String attributeName) Gets the attribute.Gets the MBean info.intGets the purge threads count.Gets the thread list.intnextStep()Next step.booleansetAttribute(String name, Object value) Sets the attribute.Methods inherited from class MBeanScheduler
close, getMonitorName, invoke, shutdownMethods inherited from class ECaccessScheduler
configurableRun, deactivateMonitor, getDelay, getJammedTimeout, getLastStepTime, getMonitorManager, getNextStep, getSchedulerState, getStartDate, getStepTime, initialize, isInitialized, isJammed, isOnHold, isRunning, onHold, setDelay, setJammedTimeout, setOnhold, setTimeRanges, start, wakeupMethods inherited from class WakeupThread
isSleeping, waitForMethods inherited from class ThreadService.ConfigurableRunnable
execute, execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Constructor Details
-
PurgeScheduler
Instantiates a new purge scheduler.- Parameters:
name- the name
-
-
Method Details
-
getPurgeThreadsCount
public int getPurgeThreadsCount()Gets the purge threads count.- Returns:
- the purge threads count
-
getActivity
Gets the activity.- Overrides:
getActivityin classECaccessScheduler- Returns:
- the activity
-
getThreadList
-
getMBeanInfo
Gets the MBean info.- Specified by:
getMBeanInfoin interfaceMBeanService- Overrides:
getMBeanInfoin classMBeanScheduler- Returns:
- the MBean info
-
getAttribute
Gets the attribute.- Specified by:
getAttributein interfaceMBeanService- Overrides:
getAttributein classMBeanScheduler- Parameters:
attributeName- the attribute name- Returns:
- the attribute
- Throws:
AttributeNotFoundException- the attribute not found exceptionMBeanException- the MBean exception
-
setAttribute
public boolean setAttribute(String name, Object value) throws InvalidAttributeValueException, MBeanException Sets the attribute.- Specified by:
setAttributein interfaceMBeanService- Overrides:
setAttributein classMBeanScheduler- Parameters:
name- the namevalue- the value- Returns:
- true, if successful
- Throws:
InvalidAttributeValueException- the invalid attribute value exceptionMBeanException- the MBean exception
-
nextStep
-