org.glassfish.grizzly.strategies
Class AbstractIOStrategy
java.lang.Object
org.glassfish.grizzly.strategies.AbstractIOStrategy
- All Implemented Interfaces:
- IOStrategy, WorkerThreadPoolConfigProducer
- Direct Known Subclasses:
- LeaderFollowerNIOStrategy, SameThreadIOStrategy, WorkerThreadIOStrategy
public abstract class AbstractIOStrategy
- extends java.lang.Object
- implements IOStrategy
- Author:
- oleksiys
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enableInterestProcessingHandler
protected static final IOEventProcessingHandler enableInterestProcessingHandler
AbstractIOStrategy
public AbstractIOStrategy()
createDefaultWorkerPoolConfig
public ThreadPoolConfig createDefaultWorkerPoolConfig(Transport transport)
- Specified by:
createDefaultWorkerPoolConfig in interface WorkerThreadPoolConfigProducer
isReadWrite
protected static boolean isReadWrite(IOEvent ioEvent)
isExecuteInWorkerThread
protected static boolean isExecuteInWorkerThread(IOEvent ioEvent)
getWorkerThreadPool
protected static java.util.concurrent.Executor getWorkerThreadPool(Connection c)
fireIOEvent
protected static void fireIOEvent(Connection connection,
IOEvent ioEvent,
IOEventProcessingHandler ph,
java.util.logging.Logger logger)
Copyright © 2011 Oracle Corpration. All Rights Reserved.