org.infinispan.executors
Class AbstractSharedExecutorFactory<E extends ExecutorService>

java.lang.Object
  extended by org.infinispan.executors.AbstractSharedExecutorFactory<E>
Direct Known Subclasses:
DefaultSharedExecutorFactory, DefaultSharedScheduledExecutorFactory

public abstract class AbstractSharedExecutorFactory<E extends ExecutorService>
extends Object

An abstract class that encapsulates the logic of sharing an ExecutorService or a ScheduledExecutorService.

Version:
4.2
Author:
Manik Surtani
See Also:
DefaultSharedExecutorFactory, DefaultSharedScheduledExecutorFactory

Constructor Summary
AbstractSharedExecutorFactory()
           
 
Method Summary
protected abstract  E createService(Properties p)
           
protected  E getOrCreateService(Properties p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSharedExecutorFactory

public AbstractSharedExecutorFactory()
Method Detail

createService

protected abstract E createService(Properties p)

getOrCreateService

protected E getOrCreateService(Properties p)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.