Package org.frankframework.receivers
Class PullingListenerContainer<M>
java.lang.Object
org.frankframework.receivers.PullingListenerContainer<M>
- All Implemented Interfaces:
IThreadCountControllable
Container that provides threads to execute pulling listeners.
- Since:
- 4.8
- Author:
- Tim van der Leeuw
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
PullingListenerContainer
public PullingListenerContainer()
-
-
Method Details
-
configure
public void configure() -
start
public void start() -
stop
public void stop() -
isThreadCountReadable
public boolean isThreadCountReadable()- Specified by:
isThreadCountReadable
in interfaceIThreadCountControllable
-
isThreadCountControllable
public boolean isThreadCountControllable()- Specified by:
isThreadCountControllable
in interfaceIThreadCountControllable
-
getCurrentThreadCount
public int getCurrentThreadCount()- Specified by:
getCurrentThreadCount
in interfaceIThreadCountControllable
-
getMaxThreadCount
public int getMaxThreadCount()- Specified by:
getMaxThreadCount
in interfaceIThreadCountControllable
-
increaseThreadCount
public void increaseThreadCount()- Specified by:
increaseThreadCount
in interfaceIThreadCountControllable
-
decreaseThreadCount
public void decreaseThreadCount()- Specified by:
decreaseThreadCount
in interfaceIThreadCountControllable
-
setIdle
public void setIdle(boolean b) -
isIdle
public boolean isIdle()
-