Class AbstractCommandFilePoller
- java.lang.Object
-
- com.aspectran.daemon.command.file.AbstractCommandFilePoller
-
- All Implemented Interfaces:
CommandFilePoller
- Direct Known Subclasses:
DefaultCommandFilePoller
public abstract class AbstractCommandFilePoller extends java.lang.Object implements CommandFilePoller
Created: 2017. 12. 11.
-
-
Constructor Summary
Constructors Constructor Description AbstractCommandFilePoller(Daemon daemon, DaemonPollerConfig pollerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Daemon
getDaemon()
CommandExecutor
getExecutor()
int
getMaxThreads()
long
getPollingInterval()
boolean
isRequeuable()
void
setPollingInterval(long pollingInterval)
void
stop()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.aspectran.daemon.command.file.CommandFilePoller
polling, requeue
-
-
-
-
Constructor Detail
-
AbstractCommandFilePoller
public AbstractCommandFilePoller(Daemon daemon, DaemonPollerConfig pollerConfig)
-
-
Method Detail
-
getDaemon
public Daemon getDaemon()
- Specified by:
getDaemon
in interfaceCommandFilePoller
-
getExecutor
public CommandExecutor getExecutor()
- Specified by:
getExecutor
in interfaceCommandFilePoller
-
stop
public void stop()
- Specified by:
stop
in interfaceCommandFilePoller
-
getPollingInterval
public long getPollingInterval()
- Specified by:
getPollingInterval
in interfaceCommandFilePoller
-
setPollingInterval
public void setPollingInterval(long pollingInterval)
- Specified by:
setPollingInterval
in interfaceCommandFilePoller
-
getMaxThreads
public int getMaxThreads()
- Specified by:
getMaxThreads
in interfaceCommandFilePoller
-
isRequeuable
public boolean isRequeuable()
- Specified by:
isRequeuable
in interfaceCommandFilePoller
-
-