/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/datastructure/ |
H A D | DataStructureFactory.java | 62 public static DataStructure getDataStructure(String className, String parameters, int maxPoolSize, argument 68 ds = new ListDataStructure(parameters, maxPoolSize, handler, strategyClass); 70 ds = new RWLockDataStructure(parameters, maxPoolSize, handler, strategyClass); 72 ds = initializeCustomDataStructureInPrivilegedMode(className, parameters, maxPoolSize, handler, strategyClass); 76 ds = new RWLockDataStructure(parameters, maxPoolSize, handler, strategyClass); 83 final int maxPoolSize, 92 result = initializeDataStructure(className, parameters, maxPoolSize, handler, strategyClass); 107 private static DataStructure initializeDataStructure(String className, String parameters, int maxPoolSize, argument 110 Object[] constructorParameters = new Object[]{parameters, maxPoolSize, handler, strategyClass}; 81 initializeCustomDataStructureInPrivilegedMode(final String className, final String parameters, final int maxPoolSize, final ResourceHandler handler, final String strategyClass) argument
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/ |
H A D | BeanPoolDescriptor.java | 52 private int maxPoolSize = MAX_POOL_SIZE_DEFAULT; field in class:BeanPoolDescriptor 77 /** Getter for property maxPoolSize. 78 * @return Value of property maxPoolSize. 81 return maxPoolSize; 84 /** Setter for property maxPoolSize. 85 * @param maxPoolSize New value of property maxPoolSize. 87 public void setMaxPoolSize(int maxPoolSize) { argument 88 this.maxPoolSize = maxPoolSize; [all...] |
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/ |
H A D | MonitorableThreadPool.java | 129 int maxPoolSize, 139 maxPoolSize, 188 @Override public ThreadPoolConfig setMaxPoolSize(int maxPoolSize) { argument 192 monitoringId, getPoolName(), maxPoolSize); 194 return super.setMaxPoolSize(maxPoolSize); 125 GrizzlyIntegrationThreadPoolConfig(String monitoringId, GrizzlyMonitoring monitoring, String poolName, int corePoolSize, int maxPoolSize, Queue<Runnable> queue, int queueLimit, long keepAliveTime, TimeUnit timeUnit, ThreadFactory threadFactory, int priority) argument
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/pool/ |
H A D | NonBlockingPool.java | 88 * true, steadyPoolSize is 1, and maxPoolSize is 1, then this field is set 106 int maxPoolSize, int idleTimeoutInSeconds, 111 maxPoolSize, idleTimeoutInSeconds, 117 int maxPoolSize, int idleTimeoutInSeconds, 123 (maxPoolSize == 1); 124 initializePool(factory, steadyPoolSize, resizeQuantity, maxPoolSize, 129 int resizeQuantity, int maxPoolSize, int idleTimeoutInSeconds, 137 this.maxPoolSize = (maxPoolSize <= 0) 138 ? Integer.MAX_VALUE : maxPoolSize; 104 NonBlockingPool(long beanId, String poolName, ObjectFactory factory, int steadyPoolSize, int resizeQuantity, int maxPoolSize, int idleTimeoutInSeconds, ClassLoader loader) argument 115 NonBlockingPool(long beanId, String poolName, ObjectFactory factory, int steadyPoolSize, int resizeQuantity, int maxPoolSize, int idleTimeoutInSeconds, ClassLoader loader, boolean singletonBeanPool) argument 128 initializePool(ObjectFactory factory, int steadyPoolSize, int resizeQuantity, int maxPoolSize, int idleTimeoutInSeconds, ClassLoader loader) argument [all...] |
H A D | AbstractPool.java | 88 protected int maxPoolSize = Integer.MAX_VALUE; field in class:AbstractPool 131 this.maxPoolSize = maxPoolsize; 218 } else if ((createdCount - destroyedCount) < maxPoolSize) { 491 return maxPoolSize; 549 sbuf.append("maxPoolSize=").append(maxPoolSize).append(";"); 566 .append("MS=").append(maxPoolSize);
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | DataSourceDefinitionDescriptor.java | 67 private int maxPoolSize = -1; field in class:DataSourceDefinitionDescriptor 308 return maxPoolSize; 311 public void setMaxPoolSize(int maxPoolSize) { argument 312 this.maxPoolSize = maxPoolSize;
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/ |
H A D | StatelessSessionContainer.java | 276 poolProp.poolResizeQuantity, poolProp.maxPoolSize, 789 int maxPoolSize; field in class:StatelessSessionContainer.PoolProperties 796 maxPoolSize = Integer.parseInt(ejbContainer.getMaxPoolSize()); 806 maxPoolSize = temp; 824 return (poolProp.maxPoolSize <= 0) 826 : poolProp.maxPoolSize;
|
H A D | EntityContainer.java | 387 poolProp.poolResizeQuantity, poolProp.maxPoolSize, 2268 int maxPoolSize; field in class:EntityContainer.PoolProperties 2276 maxPoolSize = Integer.parseInt(ejbContainer.getMaxPoolSize()); 2286 maxPoolSize = temp;
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/ |
H A D | ConnectorConnectionPool.java | 330 * @param maxPoolSize maximum pool size value 333 public void setMaxPoolSize(String maxPoolSize) { argument 334 maxPoolSize_ = maxPoolSize;
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/ |
H A D | ConnectionPool.java | 85 protected int maxPoolSize; // Max size of the pool field in class:ConnectionPool 167 maxPoolSize, this, resourceSelectionStrategyClass); 178 maxPoolSize = Integer.parseInt(poolResource.getMaxPoolSize()); 181 if (maxPoolSize < steadyPoolSize) { 182 maxPoolSize = steadyPoolSize; 357 //list accordingly so as to not exceed the maxPoolSize ever 358 //(i.e if steadyPoolSize == maxPoolSize ) 782 } else if (ds.getResourcesSize() + resizeQuantity <= maxPoolSize) { 785 } else if (ds.getResourcesSize() < maxPoolSize) { 787 // still few more connections (less than "resizeQuantity" and to reach the count of maxPoolSize) [all...] |