Class ConnectionCacheFactory
java.lang.Object
com.sun.corba.ee.spi.transport.connection.ConnectionCacheFactory
A factory class for creating connections caches.
Note that a rather unusual syntax is needed for calling these methods:
ConnectionCacheFactory.<V>makeXXXCache()
This is required because the type variable V is not used in the
parameters of the factory method (there are no parameters).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <C extends Connection>
InboundConnectionCache<C> makeBlockingInboundConnectionCache
(String cacheType, int highWaterMark, int numberToReclaim, int ttl) static <C extends Connection>
OutboundConnectionCache<C> makeBlockingOutboundConnectionCache
(String cacheType, int highWaterMark, int numberToReclaim, int maxParallelConnections, int ttl) static <C extends Connection>
InboundConnectionCache<C> makeNonBlockingInboundConnectionCache
(String cacheType, int highWaterMark, int numberToReclaim, int ttl) static <C extends Connection>
OutboundConnectionCache<C> makeNonBlockingOutboundConnectionCache
(String cacheType, int highWaterMark, int numberToReclaim, int maxParallelConnections, int ttl)
-
Constructor Details
-
ConnectionCacheFactory
private ConnectionCacheFactory()
-
-
Method Details
-
makeBlockingOutboundConnectionCache
public static <C extends Connection> OutboundConnectionCache<C> makeBlockingOutboundConnectionCache(String cacheType, int highWaterMark, int numberToReclaim, int maxParallelConnections, int ttl) -
makeNonBlockingOutboundConnectionCache
public static <C extends Connection> OutboundConnectionCache<C> makeNonBlockingOutboundConnectionCache(String cacheType, int highWaterMark, int numberToReclaim, int maxParallelConnections, int ttl) -
makeBlockingInboundConnectionCache
public static <C extends Connection> InboundConnectionCache<C> makeBlockingInboundConnectionCache(String cacheType, int highWaterMark, int numberToReclaim, int ttl) -
makeNonBlockingInboundConnectionCache
public static <C extends Connection> InboundConnectionCache<C> makeNonBlockingInboundConnectionCache(String cacheType, int highWaterMark, int numberToReclaim, int ttl)
-