public class BasicResourcePoolFactory extends ResourcePoolFactory
createInstance, createInstance, createInstance, createInstance, getSharedInstance
public static BasicResourcePoolFactory createNoEventSupportInstance(int num_task_threads)
public static BasicResourcePoolFactory createNoEventSupportInstance(com.mchange.v2.async.AsynchronousRunner taskRunner, java.util.Timer timer)
public void setStart(int start) throws ResourcePoolException
setStart
in class ResourcePoolFactory
ResourcePoolException
public int getStart() throws ResourcePoolException
getStart
in class ResourcePoolFactory
ResourcePoolException
public void setMin(int min) throws ResourcePoolException
setMin
in class ResourcePoolFactory
ResourcePoolException
public int getMin() throws ResourcePoolException
getMin
in class ResourcePoolFactory
ResourcePoolException
public void setMax(int max) throws ResourcePoolException
setMax
in class ResourcePoolFactory
ResourcePoolException
public int getMax() throws ResourcePoolException
getMax
in class ResourcePoolFactory
ResourcePoolException
public void setIncrement(int inc) throws ResourcePoolException
setIncrement
in class ResourcePoolFactory
ResourcePoolException
public int getIncrement() throws ResourcePoolException
getIncrement
in class ResourcePoolFactory
ResourcePoolException
public void setAcquisitionRetryAttempts(int retry_attempts) throws ResourcePoolException
setAcquisitionRetryAttempts
in class ResourcePoolFactory
ResourcePoolException
public int getAcquisitionRetryAttempts() throws ResourcePoolException
getAcquisitionRetryAttempts
in class ResourcePoolFactory
ResourcePoolException
public void setAcquisitionRetryDelay(int retry_delay) throws ResourcePoolException
setAcquisitionRetryDelay
in class ResourcePoolFactory
ResourcePoolException
public int getAcquisitionRetryDelay() throws ResourcePoolException
getAcquisitionRetryDelay
in class ResourcePoolFactory
ResourcePoolException
public void setIdleResourceTestPeriod(long test_period)
setIdleResourceTestPeriod
in class ResourcePoolFactory
public long getIdleResourceTestPeriod()
getIdleResourceTestPeriod
in class ResourcePoolFactory
public void setResourceMaxAge(long max_age) throws ResourcePoolException
setResourceMaxAge
in class ResourcePoolFactory
ResourcePoolException
public long getResourceMaxAge() throws ResourcePoolException
getResourceMaxAge
in class ResourcePoolFactory
ResourcePoolException
public void setResourceMaxIdleTime(long millis) throws ResourcePoolException
setResourceMaxIdleTime
in class ResourcePoolFactory
ResourcePoolException
public long getResourceMaxIdleTime() throws ResourcePoolException
getResourceMaxIdleTime
in class ResourcePoolFactory
ResourcePoolException
public void setExcessResourceMaxIdleTime(long millis) throws ResourcePoolException
setExcessResourceMaxIdleTime
in class ResourcePoolFactory
ResourcePoolException
public long getExcessResourceMaxIdleTime() throws ResourcePoolException
getExcessResourceMaxIdleTime
in class ResourcePoolFactory
ResourcePoolException
public long getDestroyOverdueResourceTime() throws ResourcePoolException
getDestroyOverdueResourceTime
in class ResourcePoolFactory
ResourcePoolException
public void setDestroyOverdueResourceTime(long millis) throws ResourcePoolException
setDestroyOverdueResourceTime
in class ResourcePoolFactory
ResourcePoolException
public void setExpirationEnforcementDelay(long expiration_enforcement_delay) throws ResourcePoolException
setExpirationEnforcementDelay
in class ResourcePoolFactory
ResourcePoolException
public long getExpirationEnforcementDelay() throws ResourcePoolException
getExpirationEnforcementDelay
in class ResourcePoolFactory
ResourcePoolException
public void setBreakOnAcquisitionFailure(boolean break_on_acquisition_failure) throws ResourcePoolException
setBreakOnAcquisitionFailure
in class ResourcePoolFactory
ResourcePoolException
public boolean getBreakOnAcquisitionFailure() throws ResourcePoolException
getBreakOnAcquisitionFailure
in class ResourcePoolFactory
ResourcePoolException
public void setDebugStoreCheckoutStackTrace(boolean debug_store_checkout_stacktrace) throws ResourcePoolException
setDebugStoreCheckoutStackTrace
in class ResourcePoolFactory
ResourcePoolException
public boolean getDebugStoreCheckoutStackTrace() throws ResourcePoolException
getDebugStoreCheckoutStackTrace
in class ResourcePoolFactory
ResourcePoolException
public void setForceSynchronousCheckins(boolean force_synchronous_checkins) throws ResourcePoolException
setForceSynchronousCheckins
in class ResourcePoolFactory
ResourcePoolException
public boolean getForceSynchronousCheckins() throws ResourcePoolException
getForceSynchronousCheckins
in class ResourcePoolFactory
ResourcePoolException
public ResourcePool createPool(ResourcePool.Manager mgr) throws ResourcePoolException
createPool
in class ResourcePoolFactory
ResourcePoolException