Home » activemq-parent-5.3.1-source-release » org.apache » activemq » transport » nio » [javadoc | source]
org.apache.activemq.transport.nio
public final class: SelectorManager [javadoc | source]
java.lang.Object
   org.apache.activemq.transport.nio.SelectorManager
The SelectorManager will manage one Selector and the thread that checks the selector. We may need to consider running more than one thread to check the selector if servicing the selector takes too long.
Nested Class Summary:
public interface  SelectorManager.Listener   
Field Summary
public static final  SelectorManager SINGLETON     
Method from org.apache.activemq.transport.nio.SelectorManager Summary:
createDefaultExecutor,   getChannelExecutor,   getInstance,   getMaxChannelsPerWorker,   getSelectorExecutor,   onWorkerEmptyEvent,   onWorkerFullEvent,   onWorkerNotFullEvent,   register,   setChannelExecutor,   setMaxChannelsPerWorker,   setSelectorExecutor
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.transport.nio.SelectorManager Detail:
 protected ExecutorService createDefaultExecutor() 
 public Executor getChannelExecutor() 
 public static SelectorManager getInstance() 
 public int getMaxChannelsPerWorker() 
 public Executor getSelectorExecutor() 
 public synchronized  void onWorkerEmptyEvent(SelectorWorker worker) 
 synchronized  void onWorkerFullEvent(SelectorWorker worker) 
 public synchronized  void onWorkerNotFullEvent(SelectorWorker worker) 
 public synchronized SelectorSelection register(SocketChannel socketChannel,
    Listener listener) throws IOException 
 public  void setChannelExecutor(Executor channelExecutor) 
 public  void setMaxChannelsPerWorker(int maxChannelsPerWorker) 
 public  void setSelectorExecutor(Executor selectorExecutor)