Searched refs:pool (Results 1 - 25 of 129) sorted by relevance

123456

/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DCoordinatorLogPool.java50 * This pool allows the re-use of these objects which are very expensive
53 * The pool is used by replacing calls to 'new CoordinatorLog()' in the
56 * from the pool. If the pool is empty it instantiates a new
60 * to return a CoordinatorLog object back to the pool. At this time a
61 * check is made to ensure that the internal pool size doesn't exceed a
63 * back into the pool.
65 * The pool was added to improve performance of transaction logging
78 private Stack pool; field in class:CoordinatorLogPool
90 pool
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/
H A DPoolProperties.java41 package com.sun.enterprise.resource.pool;
44 * Pool supplementary classes can use this to retrieve runtime pool attributes.
51 * gets the steady pool size of the pool
52 * @return steady pool size
57 * gets the max pool size of the pool
58 * @return max pool size
63 * gets the resize quantity of the pool
H A DConnectionLeakListener.java41 package com.sun.enterprise.resource.pool;
H A DPoolManagerImpl.java41 package com.sun.enterprise.resource.pool;
117 //Create and initialise the connection pool
124 _logger.log(Level.FINE, "Exception thrown on pool listener");
138 * Create and initialize pool if not created already.
140 * @param poolInfo Name of the pool to be created
142 * @return ResourcePool - newly created pool
143 * @throws PoolingException when unable to create/initialize pool
147 ResourcePool pool = getPool(poolInfo);
148 if (pool == null) {
149 pool
270 addPool(ResourcePool pool) argument
[all...]
H A DResourcePoolFactoryImpl.java41 package com.sun.enterprise.resource.pool;
56 * Factory to create appropriate connection pool.
79 ResourcePool pool = null;
84 pool = new AssocWithThreadResourcePool( poolInfo, env );
86 pool = new ConnectionPool( poolInfo, env );
90 _logger.fine("Created a pool of type : " + pt);
92 return pool;
H A DAbstractPoolManager.java41 package com.sun.enterprise.resource.pool;
H A DPoolStatus.java41 package com.sun.enterprise.resource.pool;
47 * get the status of the pool specifically the number of connections free or
56 //Number of free connections in the pool
59 //Number of connections in the pool that are being used currently.
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/validation/
H A DJdbcConnectionPoolValidationTest.java68 private JdbcConnectionPool pool = null; field in class:JdbcConnectionPoolValidationTest
81 pool = super.getHabitat().getComponent(JdbcConnectionPool.class, NAME);
86 pool = null;
100 }, pool);
111 pool.setSteadyPoolSize("true"); //this only takes a boolean
112 pool.setSteadyPoolSize("false"); //this only takes a boolean
113 pool.setSteadyPoolSize("TRUE"); //this only takes a boolean
114 pool.setSteadyPoolSize("FALSE"); //this only takes a boolean
115 pool.setSteadyPoolSize("FALSE"); //this only takes a boolean
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DInsnUtils.java55 public static Insn integerConstant(int i, ConstantPool pool) { argument
70 return Insn.create(opc_ldc, pool.addInteger(i));
77 public static Insn longConstant(long l, ConstantPool pool) { argument
83 return Insn.create(opc_ldc2_w, pool.addLong(l));
90 public static Insn floatConstant(float f, ConstantPool pool) { argument
98 return Insn.create(opc_ldc, pool.addFloat(f));
105 public static Insn doubleConstant(double d, ConstantPool pool) { argument
111 return Insn.create(opc_ldc2_w, pool.addDouble(d));
118 public static Insn aStore(int i, ConstantPool pool) { argument
134 public static Insn iStore(int i, ConstantPool pool) { argument
150 fStore(int i, ConstantPool pool) argument
166 lStore(int i, ConstantPool pool) argument
182 dStore(int i, ConstantPool pool) argument
198 aLoad(int i, ConstantPool pool) argument
214 iLoad(int i, ConstantPool pool) argument
230 fLoad(int i, ConstantPool pool) argument
246 lLoad(int i, ConstantPool pool) argument
262 dLoad(int i, ConstantPool pool) argument
278 load(int tp, int i, ConstantPool pool) argument
306 store(int tp, int i, ConstantPool pool) argument
[all...]
H A DClassAttribute.java73 static ClassAttribute read(DataInputStream data, ConstantPool pool) argument
78 ConstUtf8 attrName8 = (ConstUtf8) pool.constantAt(attrNameIndex);
89 attr = CodeAttribute.read(attrName8, attrLength, data, pool);
91 attr = CodeAttribute.read(attrName8, data, pool);
95 attr = SourceFileAttribute.read(attrName8, data, pool);
98 attr = ConstantValueAttribute.read(attrName8, data, pool);
101 attr = ExceptionsAttribute.read(attrName8, data, pool);
104 attr = AnnotatedClassAttribute.read(attrName8, data, pool);
124 ConstUtf8 attrName8 = (ConstUtf8) env.pool().constantAt(attrNameIndex);
139 attr = SyntheticAttribute.read(attrName8, data, env.pool());
[all...]
H A DConstantValueAttribute.java75 DataInputStream data, ConstantPool pool)
81 (ConstValue) pool.constantAt(index));
74 read(ConstUtf8 attrName, DataInputStream data, ConstantPool pool) argument
H A DInsnReadEnv.java127 * Get the constant pool which applies to the method being decoded
129 ConstantPool pool() { method in class:InsnReadEnv
130 return codeEnv.pool();
H A DSourceFileAttribute.java83 DataInputStream data, ConstantPool pool)
89 (ConstUtf8) pool.constantAt(index));
82 read(ConstUtf8 attrName, DataInputStream data, ConstantPool pool) argument
H A DClassField.java135 static ClassField read(DataInputStream data, ConstantPool pool) argument
141 AttributeVector fieldAttribs = AttributeVector.readAttributes(data, pool);
143 (ConstUtf8) pool.constantAt(name_index),
144 (ConstUtf8) pool.constantAt(sig_index),
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/datastructure/strategy/
H A DResourceSelectionStrategy.java41 package com.sun.enterprise.resource.pool.datastructure.strategy;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/pool/
H A DObjectFactory.java42 * <BR> <I>$Source: /cvs/glassfish/appserv-core/src/java/com/sun/ejb/containers/util/pool/ObjectFactory.java,v $</I>
47 package com.sun.ejb.containers.util.pool;
H A DPool.java42 * <BR> <I>$Source: /cvs/glassfish/appserv-core/src/java/com/sun/ejb/containers/util/pool/Pool.java,v $</I>
47 package com.sun.ejb.containers.util.pool;
51 * pooled objects. The basic assumption is that all objects in the pool are
53 * object from the pool, b) returning an object back to the pool
56 * There are six overloaded methods for getting objects from a pool.
74 * Get an object from the pool within the specified time.
85 * Return an object back to the pool. An object that is obtained through
86 * getObject() must always be returned back to the pool using either
95 * the pool usin
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/impl/
H A DMethodBuilder.java161 final ConstantPool pool = ca.classFile().pool();
167 pool.addUtf8(methodName),
168 pool.addUtf8(methodSig),
185 pool.addUtf8(LineNumberTableAttribute.expectedAttrName),
190 new CodeAttribute(pool.addUtf8(CodeAttribute.expectedAttrName),
201 pool.addUtf8(SyntheticAttribute.expectedAttrName)));
213 final ConstantPool pool = ca.classFile().pool();
219 pool
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DConnectionPoolValidator.java56 * - Max pool size to be always higher than steady pool size
71 public boolean isValid(final ResourcePool pool, argument
75 if(pool instanceof JdbcConnectionPool) {
76 JdbcConnectionPool jdbcPool = (JdbcConnectionPool) pool;
87 //max pool size fault
90 } else if(pool instanceof ConnectorConnectionPool) {
91 ConnectorConnectionPool connPool = (ConnectorConnectionPool) pool;
102 //max pool size fault
109 if(pool instanceo
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/resizer/
H A DResizer.java41 package com.sun.enterprise.resource.pool.resizer;
46 import com.sun.enterprise.resource.pool.PoolProperties;
49 import com.sun.enterprise.resource.pool.ResourceHandler;
50 import com.sun.enterprise.resource.pool.datastructure.DataStructure;
60 * Resizer to remove unusable connections, maintain steady-pool <br>
63 * i) equivalent to "pool-resize" quantity of resources are removed<br>
64 * ii) less than "pool-reize" quantity of resources are removed<br>
65 * remove more resources to match pool-resize quantity, atmost scale-down till steady-pool-size<br>
66 * iii) more than "pool
75 protected PoolProperties pool; field in class:Resizer
[all...]
H A DAssocWithThreadPoolResizer.java41 package com.sun.enterprise.resource.pool.resizer;
47 import com.sun.enterprise.resource.pool.PoolProperties;
48 import com.sun.enterprise.resource.pool.ResourceHandler;
49 import com.sun.enterprise.resource.pool.datastructure.DataStructure;
58 * and maintain steady pool size.
71 * Scale down pool by a <code>size &lt;= pool-resize-quantity</code>
78 if (pool.getResizeQuantity() > 0 && forced) {
81 (ds.getResourcesSize() - pool.getSteadyPoolSize())) ? scaleDownQuantity : 0;
83 debug("Scaling down pool b
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/monitor/
H A DConnectionPoolAppProbeProvider.java41 package com.sun.enterprise.resource.pool.monitor;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/waitqueue/
H A DPoolWaitQueue.java41 package com.sun.enterprise.resource.pool.waitqueue;
46 * Represents the pool wait queue<br>
96 * Useful in case of rolling over from one pool to another
97 * eg: transparent-dynamic-pool-reconfiguration.
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/commands/
H A DDeleteThreadpool.java121 ThreadPool pool = null;
124 pool = tp;
128 List<NetworkListener> nwlsnrList = pool.findNetworkListeners();
130 if (pool.getName().equals(nwlsnr.getThreadPool())) {
145 for (ThreadPool pool : poolList) {
146 String currPoolId = pool.getName();
149 poolList.remove(pool);
168 for (ThreadPool pool : threadPools.getThreadPool()) {
169 String currPoolId = pool.getName();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/beanpool/
H A DASEjbBPMaxPoolSize.java50 * bean-pool ?
51 * steady-pool-size ? [String]
52 * pool-resize-quantity ? [String]
53 * max-pool-size ? [String]
54 * pool-idle-timeout-in-seconds ? [String]
57 * The max-pool-size element specifies the maximum pool size.
72 String pool=null;
74 String s1 = ("/sun-ejb-jar/enterprise-beans/ejb[ejb-name=\""+descriptor.getName()+"\"]/bean-pool");
75 pool
[all...]

Completed in 5455 milliseconds

123456