Package step.expressions
Class GroovyPoolFactory
java.lang.Object
step.expressions.GroovyPoolFactory
- All Implemented Interfaces:
org.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry>
public class GroovyPoolFactory
extends Object
implements org.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) voiddestroyObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) org.apache.commons.pool2.PooledObject<GroovyPoolEntry>makeObject(GroovyPoolKey groovyPoolKey) voidpassivateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) booleanvalidateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.pool2.KeyedPooledObjectFactory
destroyObject
-
Constructor Details
-
GroovyPoolFactory
-
-
Method Details
-
makeObject
public org.apache.commons.pool2.PooledObject<GroovyPoolEntry> makeObject(GroovyPoolKey groovyPoolKey) throws Exception - Specified by:
makeObjectin interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry> - Throws:
Exception
-
activateObject
public void activateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) throws Exception - Specified by:
activateObjectin interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry> - Throws:
Exception
-
destroyObject
public void destroyObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) throws Exception - Specified by:
destroyObjectin interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry> - Throws:
Exception
-
passivateObject
public void passivateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) throws Exception - Specified by:
passivateObjectin interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry> - Throws:
Exception
-
validateObject
public boolean validateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) - Specified by:
validateObjectin interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry>
-