org.ehcache.internal.executor
Class PooledExecutionService
java.lang.Object
  
org.ehcache.internal.executor.PooledExecutionService
- All Implemented Interfaces: 
 - ExecutionService, Service
 
public class PooledExecutionService
- extends java.lang.Object
- implements ExecutionService
  
| 
Method Summary | 
 java.util.concurrent.ExecutorService | 
getOrderedExecutor(java.lang.String poolAlias,
                   java.util.concurrent.BlockingQueue<java.lang.Runnable> queue)
 
            | 
 java.util.concurrent.ScheduledExecutorService | 
getScheduledExecutor(java.lang.String poolAlias)
 
            | 
 java.util.concurrent.ExecutorService | 
getUnorderedExecutor(java.lang.String poolAlias,
                     java.util.concurrent.BlockingQueue<java.lang.Runnable> queue)
 
            | 
 void | 
start(ServiceProvider serviceProvider)
 
          Start this service using the provided configuration and ServiceProvider. | 
 void | 
stop()
 
          Stops this service. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
getScheduledExecutor
public java.util.concurrent.ScheduledExecutorService getScheduledExecutor(java.lang.String poolAlias)
- Specified by:
 getScheduledExecutor in interface ExecutionService
 
 
getOrderedExecutor
public java.util.concurrent.ExecutorService getOrderedExecutor(java.lang.String poolAlias,
                                                               java.util.concurrent.BlockingQueue<java.lang.Runnable> queue)
- Specified by:
 getOrderedExecutor in interface ExecutionService
 
 
getUnorderedExecutor
public java.util.concurrent.ExecutorService getUnorderedExecutor(java.lang.String poolAlias,
                                                                 java.util.concurrent.BlockingQueue<java.lang.Runnable> queue)
- Specified by:
 getUnorderedExecutor in interface ExecutionService
 
 
start
public void start(ServiceProvider serviceProvider)
- Description copied from interface: 
Service 
- Start this service using the provided configuration and 
ServiceProvider.
 
 The goal of the service provider is to allow a service to use other services.
- Specified by:
 start in interface Service
 
- Parameters:
 serviceProvider - the service provider.
 
 
stop
public void stop()
- Description copied from interface: 
Service 
- Stops this service.
- Specified by:
 stop in interface Service