com.onionnetworks.antflow.job
Interface ExecutorFactory

All Known Implementing Classes:
ExecutorFactoryImpl

public interface ExecutorFactory

Used to store the per-Task executors. Also provides status dumps.


Method Summary
 void dumpState()
           
 EDU.oswego.cs.dl.util.concurrent.Executor getExecutor(java.lang.String key, int size)
           
 

Method Detail

getExecutor

public EDU.oswego.cs.dl.util.concurrent.Executor getExecutor(java.lang.String key,
                                                             int size)
Parameters:
key - for looking up pre-existing pools if caching is done
size - number of threads in the executor if pooling. Ignored if a new Executor isn't created

dumpState

public void dumpState()


Copyright © 2003-2004 Onion Networks. All Rights Reserved.