Class ThreadpoolSwiftletImpl
java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
com.swiftmq.impl.threadpool.standard.ThreadpoolSwiftletImpl
- All Implemented Interfaces:
com.swiftmq.swiftlet.timer.event.TimerListener, EventListener
public class ThreadpoolSwiftletImpl
extends com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
implements com.swiftmq.swiftlet.timer.event.TimerListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.swiftmq.swiftlet.Swiftlet
STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.swiftmq.swiftlet.Swiftlet
getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, standby
-
Field Details
-
PROP_COLLECT_INTERVAL
- See Also:
-
PROP_PLATFORM_THREADS
- See Also:
-
PROP_VIRTUAL_THREADS
- See Also:
-
PROP_ADHOC_VIRTUAL_THREADS
- See Also:
-
PROP_ADHOC_PLATFORM_THREADS
- See Also:
-
-
Constructor Details
-
ThreadpoolSwiftletImpl
public ThreadpoolSwiftletImpl()
-
-
Method Details
-
runAsync
- Specified by:
runAsyncin classcom.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
-
runAsync
- Specified by:
runAsyncin classcom.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
-
createEventLoop
public com.swiftmq.swiftlet.threadpool.EventLoop createEventLoop(String id, com.swiftmq.swiftlet.threadpool.EventProcessor eventProcessor) - Specified by:
createEventLoopin classcom.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
-
performTimeAction
public void performTimeAction()- Specified by:
performTimeActionin interfacecom.swiftmq.swiftlet.timer.event.TimerListener
-
freeze
public void freeze()- Specified by:
freezein classcom.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
-
unfreeze
public void unfreeze()- Specified by:
unfreezein classcom.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
-
startup
protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.SwiftletException - Specified by:
startupin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-
shutdown
protected void shutdown()- Specified by:
shutdownin classcom.swiftmq.swiftlet.Swiftlet
-