|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.DefaultConnectorHandlerPool
public class DefaultConnectorHandlerPool
Simple ConnectorHandlerPool implementation
| Constructor Summary | |
|---|---|
DefaultConnectorHandlerPool(Controller controller)
|
|
| Method Summary | |
|---|---|
ConnectorHandler |
acquireConnectorHandler(Controller.Protocol protocol)
Return an instance of ConnectorHandler,
which corresponds to the protocol |
void |
releaseConnectorHandler(ConnectorHandler connectorHandler)
Release a ConnectorHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultConnectorHandlerPool(Controller controller)
| Method Detail |
|---|
public ConnectorHandler acquireConnectorHandler(Controller.Protocol protocol)
ConnectorHandlerPoolConnectorHandler,
which corresponds to the protocol
acquireConnectorHandler in interface ConnectorHandlerPool<ConnectorHandler>protocol - a Controller.Protocol
ConnectorHandlerpublic void releaseConnectorHandler(ConnectorHandler connectorHandler)
ConnectorHandlerPool
releaseConnectorHandler in interface ConnectorHandlerPool<ConnectorHandler>connectorHandler - - a ConnectorHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||