FileDocCategorySizeDatePackage
MultiSelectorThread.javaAPI DocGlassfish v2 API3057Fri May 04 22:37:04 BST 2007com.sun.enterprise.web.connector.grizzly

MultiSelectorThread

public interface MultiSelectorThread
This interface allow implementation of multi Selector support from a SelectorThread.
author
Jeanfrancois

Fields Summary
Constructors Summary
Methods Summary
public voidaddChannel(java.nio.channels.SocketChannel channel)
Add a Channel to be processed by this Selector

public intgetCurrentBusyProcessorThreads()
Provides the count of request threads that are currently being processed by the container

return
Count of requests

public voidinitEndpoint()
Initialize this SelectorThread

public voidstartEndpoint()
Start and wait for incoming connection

public voidstopEndpoint()
Stop incoming connection