public class DirPollAdaptor extends QBeanSupport implements DirPollAdaptorMBean
| Modifier and Type | Field and Description |
|---|---|
protected DirPoll |
dirPoll |
protected java.lang.Thread |
dirPollThread |
cfg, log, scheduledThreadPoolExecutor| Constructor and Description |
|---|
DirPollAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
protected DirPoll |
createDirPoll() |
java.lang.String |
getPath() |
long |
getPollInterval() |
int |
getPoolSize() |
java.lang.String |
getPriorities() |
java.lang.String |
getProcessor() |
protected void |
initService() |
void |
setPath(java.lang.String path) |
void |
setPollInterval(long pollInterval) |
void |
setPoolSize(int size) |
void |
setPriorities(java.lang.String priorities) |
void |
setProcessor(java.lang.String processor) |
protected void |
startService() |
protected void |
stopService() |
addAttr, close, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServerdestroy, getState, getStateAsString, init, start, stopgetPersist, isModifiedprotected DirPoll dirPoll
protected java.lang.Thread dirPollThread
protected void initService()
throws java.lang.Exception
initService in class QBeanSupportjava.lang.Exceptionprotected DirPoll createDirPoll()
protected void startService()
throws java.lang.Exception
startService in class QBeanSupportjava.lang.Exceptionprotected void stopService()
throws java.lang.Exception
stopService in class QBeanSupportjava.lang.Exceptionpublic void setPath(java.lang.String path)
setPath in interface DirPollAdaptorMBeanpublic void setPoolSize(int size)
setPoolSize in interface DirPollAdaptorMBeanpublic int getPoolSize()
getPoolSize in interface DirPollAdaptorMBeanpublic java.lang.String getPath()
getPath in interface DirPollAdaptorMBeanpublic void setPollInterval(long pollInterval)
setPollInterval in interface DirPollAdaptorMBeanpublic long getPollInterval()
getPollInterval in interface DirPollAdaptorMBeanpublic void setPriorities(java.lang.String priorities)
setPriorities in interface DirPollAdaptorMBeanpublic java.lang.String getPriorities()
getPriorities in interface DirPollAdaptorMBeanpublic void setProcessor(java.lang.String processor)
setProcessor in interface DirPollAdaptorMBeanpublic java.lang.String getProcessor()
getProcessor in interface DirPollAdaptorMBean