|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadingService
Engine-level threading services.
Method Summary | |
---|---|
void |
destroy()
Destroy thread pools. |
java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getInboundQueue()
Returns the inbound queue. |
java.util.concurrent.ThreadPoolExecutor |
getInboundThreadPool()
Returns the inbound thread pool |
java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getOutboundQueue()
Returns the outbound queue. |
java.util.concurrent.ThreadPoolExecutor |
getOutboundThreadPool()
Returns the outbound thread pool |
java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getRouteQueue()
Returns the route queue. |
java.util.concurrent.ThreadPoolExecutor |
getRouteThreadPool()
Returns the route thread pool |
java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getTimerQueue()
Returns the timer queue. |
java.util.concurrent.ThreadPoolExecutor |
getTimerThreadPool()
Returns the timer thread pool |
void |
initThreading(EPServicesContext services,
EPRuntimeImpl runtime)
Initialize thread pools. |
boolean |
isInboundThreading()
Returns true for inbound threading enabled. |
boolean |
isOutboundThreading()
Returns true for outbound threading enabled. |
boolean |
isRouteThreading()
Returns true for route execution threading enabled. |
boolean |
isTimerThreading()
Returns true for timer execution threading enabled. |
java.lang.Thread |
makeEventSourceThread(java.lang.String engineURI,
java.lang.String sourceName,
java.lang.Runnable runnable)
|
void |
submitInbound(InboundUnitRunnable unit)
Submit inbound work unit. |
void |
submitOutbound(OutboundUnitRunnable unit)
Submit outbound work unit. |
void |
submitRoute(RouteUnitRunnable unit)
Submit route work unit. |
void |
submitTimerWork(TimerUnit timerUnit)
Submit timer execution work unit. |
Method Detail |
---|
void destroy()
void initThreading(EPServicesContext services, EPRuntimeImpl runtime)
services
- engine-level service contextruntime
- runtimeboolean isTimerThreading()
void submitTimerWork(TimerUnit timerUnit)
timerUnit
- unit of workboolean isInboundThreading()
void submitInbound(InboundUnitRunnable unit)
unit
- unit of workboolean isRouteThreading()
void submitRoute(RouteUnitRunnable unit)
unit
- unit of workboolean isOutboundThreading()
void submitOutbound(OutboundUnitRunnable unit)
unit
- unit of workjava.util.concurrent.BlockingQueue<java.lang.Runnable> getOutboundQueue()
java.util.concurrent.ThreadPoolExecutor getOutboundThreadPool()
java.util.concurrent.BlockingQueue<java.lang.Runnable> getRouteQueue()
java.util.concurrent.ThreadPoolExecutor getRouteThreadPool()
java.util.concurrent.BlockingQueue<java.lang.Runnable> getTimerQueue()
java.util.concurrent.ThreadPoolExecutor getTimerThreadPool()
java.util.concurrent.BlockingQueue<java.lang.Runnable> getInboundQueue()
java.util.concurrent.ThreadPoolExecutor getInboundThreadPool()
java.lang.Thread makeEventSourceThread(java.lang.String engineURI, java.lang.String sourceName, java.lang.Runnable runnable)
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |