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, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer
destroy, getState, getStateAsString, init, start, stop
getPersist, isModified
protected DirPoll dirPoll
protected java.lang.Thread dirPollThread
protected void initService() throws java.lang.Exception
initService
in class QBeanSupport
java.lang.Exception
protected DirPoll createDirPoll()
protected void startService() throws java.lang.Exception
startService
in class QBeanSupport
java.lang.Exception
protected void stopService() throws java.lang.Exception
stopService
in class QBeanSupport
java.lang.Exception
public void setPath(java.lang.String path)
setPath
in interface DirPollAdaptorMBean
public void setPoolSize(int size)
setPoolSize
in interface DirPollAdaptorMBean
public int getPoolSize()
getPoolSize
in interface DirPollAdaptorMBean
public java.lang.String getPath()
getPath
in interface DirPollAdaptorMBean
public void setPollInterval(long pollInterval)
setPollInterval
in interface DirPollAdaptorMBean
public long getPollInterval()
getPollInterval
in interface DirPollAdaptorMBean
public void setPriorities(java.lang.String priorities)
setPriorities
in interface DirPollAdaptorMBean
public java.lang.String getPriorities()
getPriorities
in interface DirPollAdaptorMBean
public void setProcessor(java.lang.String processor)
setProcessor
in interface DirPollAdaptorMBean
public java.lang.String getProcessor()
getProcessor
in interface DirPollAdaptorMBean