return new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds, return new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds,
public ConnectionInterceptor addPoolingInterceptors(ConnectionInterceptor tail) { MultiPoolConnectionInterceptor pool = new MultiPoolConnectionInterceptor(tail, singlePool, isPartitionBySubject(), isPartitionByConnectionRequestInfo()); this.poolingAttributes = pool; return pool; }
ManagedConnectionFactory mcf, ClassLoader classLoader) { if (subjectSource == null && pooling instanceof PartitionedPool && ((PartitionedPool) pooling).isPartitionBySubject()) { throw new IllegalStateException("To use Subject in pooling, you need a SecurityDomain");
return new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds, return new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds,
return new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds, return new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds,
poolingSupport = new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds, poolingSupport = new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds,
poolingSupport = new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds, poolingSupport = new PartitionedPool(poolMaxSize, poolMinSize, connectionMaxWaitMilliseconds,
} else if (connectionManager.getPartitionedPool() != null) { GerPartitionedpoolType pool = connectionManager.getPartitionedPool(); pooling = new PartitionedPool(pool.isSetMaxSize() ? pool.getMaxSize() : defaultMaxSize, pool.isSetMinSize() ? pool.getMinSize() : defaultMinSize, pool.isSetBlockingTimeoutMilliseconds() ? pool.getBlockingTimeoutMilliseconds() : defaultBlockingTimeoutMilliseconds,
} else if (connectionManager.getPartitionedPool() != null) { GerPartitionedpoolType pool = connectionManager.getPartitionedPool(); pooling = new PartitionedPool(pool.isSetMaxSize() ? pool.getMaxSize() : defaultMaxSize, pool.isSetMinSize() ? pool.getMinSize() : defaultMinSize, pool.isSetBlockingTimeoutMilliseconds() ? pool.getBlockingTimeoutMilliseconds() : defaultBlockingTimeoutMilliseconds,