com.espertech.esperio.db.core
Class ExecutorServices
java.lang.Object
com.espertech.esperio.db.core.ExecutorServices
public class ExecutorServices
- extends java.lang.Object
Constructor Summary |
ExecutorServices(com.espertech.esper.core.service.EPServiceProviderSPI spi,
java.util.Map<java.lang.String,Executor> workQueue)
|
Method Summary |
void |
destroy()
|
java.util.concurrent.Executor |
getConfiguredExecutor(java.lang.String workqueueName)
|
java.util.concurrent.Executor |
getExecutor(java.lang.String name)
|
java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getQueue(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutorServices
public ExecutorServices(com.espertech.esper.core.service.EPServiceProviderSPI spi,
java.util.Map<java.lang.String,Executor> workQueue)
getConfiguredExecutor
public java.util.concurrent.Executor getConfiguredExecutor(java.lang.String workqueueName)
throws com.espertech.esper.client.ConfigurationException
- Throws:
com.espertech.esper.client.ConfigurationException
getQueue
public java.util.concurrent.BlockingQueue<java.lang.Runnable> getQueue(java.lang.String name)
getExecutor
public java.util.concurrent.Executor getExecutor(java.lang.String name)
destroy
public void destroy()