public class NuxeoConnectionManagerConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ACTIVE_TIMEOUT_MINUTES |
static int |
DEFAULT_BLOCKING_TIMEOUT_MILLIS |
static int |
DEFAULT_IDLE_TIMEOUT_MINUTES |
static int |
DEFAULT_MAX_POOL_SIZE |
static int |
DEFAULT_MIN_POOL_SIZE |
Constructor and Description |
---|
NuxeoConnectionManagerConfiguration() |
NuxeoConnectionManagerConfiguration(NuxeoConnectionManagerConfiguration other)
Copy constructor.
|
public static final int DEFAULT_MAX_POOL_SIZE
public static final int DEFAULT_MIN_POOL_SIZE
public static final int DEFAULT_BLOCKING_TIMEOUT_MILLIS
public static final int DEFAULT_IDLE_TIMEOUT_MINUTES
public static final int DEFAULT_ACTIVE_TIMEOUT_MINUTES
public NuxeoConnectionManagerConfiguration()
public NuxeoConnectionManagerConfiguration(NuxeoConnectionManagerConfiguration other)
public void merge(NuxeoConnectionManagerConfiguration other)
public boolean getXAMode()
public boolean getUseTransactionCaching()
public boolean getUseThreadCaching()
public boolean getMatchOne()
public boolean getMatchAll()
public boolean getSelectOneNoMatch()
public int getMaxPoolSize()
public int getMinPoolSize()
public int getBlockingTimeoutMillis()
public int getIdleTimeoutMinutes()
public int getActiveTimeoutMinutes()
public void setXAMode(boolean xaMode)
public void setUseTransactionCaching(boolean useTransactionCaching)
public void setUseThreadCaching(boolean useThreadCaching)
public void setMatchOne(boolean matchOne)
public void setMatchAll(boolean matchAll)
public void setSelectOneNoMatch(boolean selectOneNoMatch)
public void setMaxPoolSize(int maxPoolSize)
public void setMinPoolSize(int minPoolSize)
public void setBlockingTimeoutMillis(int blockingTimeoutMillis)
public void setIdleTimeoutMinutes(int idleTimeoutMinutes)
public void setActiveTimeoutMinutes(int activeTimeoutMinutes)
public void setValidationQuery(String sql)
public void setTestOnBorrow(Class<? extends NuxeoValidationSupport.Validation> typeof) throws ReflectiveOperationException
ReflectiveOperationException
public void setTestOnReturn(Class<? extends NuxeoValidationSupport.Validation> typeof) throws ReflectiveOperationException
ReflectiveOperationException
public void setMaxActive(int num)
public void setMaxIdle(int num)
public void setMaxWait(int num)
Copyright © 2018 Nuxeo. All rights reserved.