com.sun.enterprise.mgmt.transport.grizzly.grizzly2
Class ConnectionCache
java.lang.Object
com.sun.enterprise.mgmt.transport.grizzly.grizzly2.ConnectionCache
public class ConnectionCache
- extends Object
Connection cache implementation.
- Author:
- Alexey Stashok
|
Constructor Summary |
ConnectionCache(org.glassfish.grizzly.SocketConnectorHandler socketConnectorHandler,
int highWaterMark,
int maxParallelConnections,
int numberToReclaim)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionCache
public ConnectionCache(org.glassfish.grizzly.SocketConnectorHandler socketConnectorHandler,
int highWaterMark,
int maxParallelConnections,
int numberToReclaim)
poll
public org.glassfish.grizzly.Connection poll(SocketAddress localAddress,
SocketAddress remoteAddress)
throws IOException
- Throws:
IOException
offer
public void offer(org.glassfish.grizzly.Connection connection)
close
public void close()
Copyright © 2012. All Rights Reserved.