ConnectionCacheFactorypublic final class ConnectionCacheFactory extends Object A factory class for creating connections caches.
Note that a rather unusual syntax is needed for calling these methods:
ConnectionCacheFactory.makeXXXCache()
This is required because the type variable V is not used in the
parameters of the factory method (there are no parameters). |
Constructors Summary |
---|
private ConnectionCacheFactory()
|
Methods Summary |
---|
public static InboundConnectionCache | makeBlockingInboundConnectionCache(java.lang.String cacheType, int highWaterMark, int numberToReclaim, java.util.logging.Logger logger)
return new InboundConnectionCacheBlockingImpl<C>( cacheType,
highWaterMark, numberToReclaim, logger ) ;
| public static OutboundConnectionCache | makeBlockingOutboundConnectionCache(java.lang.String cacheType, int highWaterMark, int numberToReclaim, int maxParallelConnections, java.util.logging.Logger logger)
return new OutboundConnectionCacheBlockingImpl<C>( cacheType, highWaterMark,
numberToReclaim, maxParallelConnections, logger ) ;
|
|