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 Object
- implements IOStrategy
- Author:
- oleksiys
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enableInterestPostProcessor
protected static final PostProcessor enableInterestPostProcessor
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 Executor getWorkerThreadPool(Connection c)
fireIOEvent
protected static void fireIOEvent(Connection connection,
IOEvent ioEvent,
PostProcessor pp,
Logger logger)
Copyright © 2011 Oracle Corpration. All Rights Reserved.