| org.mortbay.jetty.grizzly.JettySelectorThread
All known Subclasses: org.mortbay.jetty.grizzly.JettyMultiSelectorThread,
JettySelectorThread | public class JettySelectorThread extends SelectorThread (Code) | | Extend the default Grizzly implementation to allow the customization of
Task used by the Jetty back-end
author: Jeanfrancois Arcand |
JettySelectorThread | public JettySelectorThread()(Code) | | |
enableSelectionKeys | public void enableSelectionKeys()(Code) | | Enable all registered interestOps. Due a a NIO bug, all interestOps
invokation needs to occurs on the same thread as the selector thread.
|
expireIdleKeys | protected void expireIdleKeys()(Code) | | Cancel keep-alive connections.
|
initAlgorithm | protected void initAlgorithm()(Code) | | Force Grizzly to use the JettyStreamAlgorithm
implementation by default.
|
isUseTemporarySelector | public boolean isUseTemporarySelector()(Code) | | |
newPipeline | protected Pipeline newPipeline(int maxThreads, int minThreads, String name, int port, int priority)(Code) | | Create a new Pipeline instance using the
pipelineClassName value. If the pipeline is an instance of
JettyPipeline , use the Jetty thread pool implementation
(wrapped inside a Pipeline).
|
newProcessorTask | public ProcessorTask newProcessorTask(boolean initialize)(Code) | | Return a JettyProcessorTask implementation.
|
newReadTask | protected ReadTask newReadTask()(Code) | | Return a new JettyReadTask instance
|
setThreadPool | public void setThreadPool(ThreadPool threadPool)(Code) | | |
setUseTemporarySelector | public void setUseTemporarySelector(boolean useTemporarySelector)(Code) | | |
|
|