Class AbstractCommandPoller
- java.lang.Object
-
- com.aspectran.daemon.command.polling.AbstractCommandPoller
-
- All Implemented Interfaces:
CommandPoller
- Direct Known Subclasses:
FileCommandPoller
public abstract class AbstractCommandPoller extends java.lang.Object implements CommandPoller
Created: 2017. 12. 11.
-
-
Constructor Summary
Constructors Constructor Description AbstractCommandPoller(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.polling.CommandPoller
polling, requeue
-
-
-
-
Constructor Detail
-
AbstractCommandPoller
public AbstractCommandPoller(Daemon daemon, DaemonPollerConfig pollerConfig)
-
-
Method Detail
-
getDaemon
public Daemon getDaemon()
- Specified by:
getDaemon
in interfaceCommandPoller
-
getExecutor
public CommandExecutor getExecutor()
- Specified by:
getExecutor
in interfaceCommandPoller
-
stop
public void stop()
- Specified by:
stop
in interfaceCommandPoller
-
getPollingInterval
public long getPollingInterval()
- Specified by:
getPollingInterval
in interfaceCommandPoller
-
setPollingInterval
public void setPollingInterval(long pollingInterval)
- Specified by:
setPollingInterval
in interfaceCommandPoller
-
getMaxThreads
public int getMaxThreads()
- Specified by:
getMaxThreads
in interfaceCommandPoller
-
isRequeuable
public boolean isRequeuable()
- Specified by:
isRequeuable
in interfaceCommandPoller
-
-