com.sun.enterprise.mgmt.transport.grizzly.grizzly2
Class ConnectionCache

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
 void offer(org.glassfish.grizzly.Connection connection)
           
 org.glassfish.grizzly.Connection poll(SocketAddress localAddress, SocketAddress remoteAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionCache

public ConnectionCache(org.glassfish.grizzly.SocketConnectorHandler socketConnectorHandler,
                       int highWaterMark,
                       int maxParallelConnections,
                       int numberToReclaim)
Method Detail

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.