|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sql.DatabaseManagerConfiguration
public class DatabaseManagerConfiguration
DatabaseManagerConfiguration contains parameters about defaults configuration. It reads these parameters from application's configuration file - defaults section.
Field Summary |
---|
Constructor Summary | |
---|---|
DatabaseManagerConfiguration()
|
Method Summary | |
---|---|
int |
getAsynchLoadThreadNum()
Returns the number of threads used for asynchronous cache initialization. |
boolean |
getAutoSave()
Returns AutoSave parameter. |
boolean |
getAutoSaveCreateVirgin()
Returns AutoSaveCreateVirgin parameter. |
boolean |
getAutoWrite()
Returns AutoWrite parameter. |
double |
getCachePercentage()
|
boolean |
getCaseSensitive()
Returns CaseSensitive parameter. |
java.lang.String |
getConnectionAllocatorName()
|
java.lang.String |
getDBConnectionFactoryName()
|
java.lang.String |
getDBTransactionFactoryName()
|
int |
getDeadlockRetryCount()
Returns DeadlockRetryCount parameter. |
int |
getDeadlockWaitTime()
Returns DeadlockWaitTime parameter. |
int |
getDefaultFetchSize()
Returns DefaultFetchSize parameter. |
boolean |
getDeleteCheckVersion()
Returns DeleteCheckVersion parameter. |
java.lang.String |
getDodsCacheFactory()
|
int |
getFullCacheCountLimit()
|
boolean |
getIncrementVersions()
Returns IncrementVersions parameter. |
boolean |
getInitAllCaches()
Returns InitAllCaches parameter. |
java.lang.String |
getInitCachesResultSetConcurrency()
|
java.lang.String |
getInitCachesResultSetType()
|
int |
getInitialCacheFetchSize()
|
int |
getInitialDSCacheSize()
|
int |
getMaxCacheSize()
Returns maxCacheSize parameter. |
int |
getMaxComplexCacheSize()
Returns maxComplexCacheSize parameter. |
int |
getMaxExecuteTime()
Returns maxExecuteTime parameter. |
int |
getMaxExecuteTimeCacheInit()
Returns the max time for which the query is not printed in application's log file durung the cache initialization. |
int |
getMaxMultiJoinCacheSize()
Returns maxMultiJoinCacheSize parameter. |
int |
getMaxSimpleCacheSize()
Returns maxSimpleCacheSize parameter. |
int |
getObjectIdentityType()
|
java.lang.String |
getQueryCacheImplClass()
|
java.lang.Integer |
getQueryTimeLimit()
|
int |
getQueryTimeLimitCacheInit()
Returns max number of milliseconds for which the query for cache initialization should be executed and the resulset read from ResultSet. |
int |
getQueryTimeout()
Returns QueryTimeout parameter. |
int |
getQueryTimeoutCacheInit()
Returns max number of seconds for which the query for cache initialization should be executed. |
double |
getReserveFactor()
Returns reserveFactor parameter. |
boolean |
getSelectOids()
Returns selectOids parameter. |
int |
getSimpleCacheRowCountLimit()
Returns max number of rows in the table for which is simple cache still used. |
int |
getSynchLoadRowCountLimit()
Returns the max number of rows in the table for which the synchronous cache load is performed if defined by configuration. |
boolean |
getTransactionCaches()
Returns TransactionCaches parameter. |
boolean |
getTransactionCheck()
Returns TransactionCheck parameter. |
java.lang.Boolean |
getUseCursorName()
Returns UseCursorName parameter. |
java.lang.String |
getUserConfigSingleWildcard()
Returns UserConfigSingleWildcard parameter. |
java.lang.String |
getUserConfigSingleWildcardEscape()
Returns UserConfigSingleWildcardEscape parameter. |
java.lang.String |
getUserConfigWildcard()
Returns UserConfigWildcard parameter. |
java.lang.String |
getUserConfigWildcardEscape()
Returns UserConfigWildcardEscape parameter. |
int |
getXaDefaultTimeout()
|
java.lang.String |
getXaJtaSupport()
|
java.lang.String |
getXaTransactionManagerLookupName()
|
int |
getXaUsageCase()
|
java.lang.String |
getXaUserTransactionLookupName()
|
java.lang.String |
getXaWrappedTransImplFactory()
|
boolean |
isAllReadOnly()
Returns AllReadOnly parameter. |
boolean |
isCaseInsensitiveDatabase()
|
boolean |
isLazyLoading()
Returns lazyLoading parameter. |
boolean |
isSqlBatch()
|
void |
readDatabaseManagerConfiguration()
Reads table configuration parameters. |
void |
setAllReadOnly(boolean newValue)
Sets AllReadOnly parameter to value string. |
protected void |
setAsynchLoadThreadNum(int asynchLoadThreadNum)
Sets the number of threads used for asynchronous cache initialization. |
protected void |
setAutoSave(boolean newCheck)
Sets AutoSave parameter to value newCheck. |
protected void |
setAutoSaveCreateVirgin(boolean newCheck)
Sets AutoSaveCreateVirgin parameter to value newCheck. |
protected void |
setAutoWrite(boolean newCheck)
Sets AutoWrite parameter to value newCheck. |
protected void |
setCachePercentage(double percent)
|
void |
setCaseInsensitiveDatabase(boolean caseInsensitiveDatabase)
|
void |
setCaseSensitive(boolean newValue)
Set CaseSensitive parameter to newValue value. |
void |
setConnectionAllocatorName(java.lang.String string)
|
void |
setDBConnectionFactoryName(java.lang.String string)
|
void |
setDBTransactionFactoryName(java.lang.String string)
|
protected void |
setDeadlockRetryCount(int newValue)
Sets DeadlockRetryCount parameter to value newValue. |
protected void |
setDeadlockWaitTime(int waitTime)
Sets DeadlockWaitTime parameter to value waitTime. |
protected void |
setDefaultFetchSize(int newValue)
Sets DefaultFetchSize parameter to value newValue. |
protected void |
setDeleteCheckVersion(boolean newCheck)
Sets DeleteCheckVersion parameter to value newCheck. |
void |
setDodsCacheFactory(java.lang.String dods_cache_factory)
|
void |
setFullCacheCountLimit(int i)
|
protected void |
setIncrementVersions(boolean newValue)
Sets IncrementVersions parameter. |
protected void |
setInitAllCaches(boolean newValue)
Sets InitAllCaches parameter to value newValue. |
void |
setInitCachesResultSetConcurrency(java.lang.String string)
|
void |
setInitCachesResultSetType(java.lang.String string)
|
void |
setInitialCacheFetchSize(int i)
|
void |
setInitialDSCacheSize(int i)
|
protected void |
setLazyLoading(boolean newlazyLoading)
Sets lazyLoading parameter to value newlazyLoading. |
protected void |
setMaxCacheSize(int newMaxCacheSize)
Sets maxCacheSize parameter to value newMaxCacheSize. |
protected void |
setMaxComplexCacheSize(int newMaxCacheSize)
Sets maxComplexCacheSize parameter to value newMaxCacheSize. |
protected void |
setMaxExecuteTime(int newMaxExecuteTime)
Sets maxExecuteTime parameter to value newMaxExecuteTime. |
protected void |
setMaxExecuteTimeCacheInit(int maxExeTime)
Sets the max time for which the query is not printed in application's log file durung the cache initialization. |
protected void |
setMaxMultiJoinCacheSize(int newMaxCacheSize)
Sets maxMultiJoinCacheSize parameter to value newMaxCacheSize. |
protected void |
setMaxSimpleCacheSize(int newMaxCacheSize)
Sets maxSimpleCacheSize parameter to value newMaxCacheSize. |
void |
setObjectIdentityType(int objectIdentityType)
|
void |
setQueryCacheImplClass(java.lang.String string)
|
void |
setQueryTimeLimit(java.lang.Integer queryTimeLimit)
|
protected void |
setQueryTimeLimitCacheInit(int timeLimit)
Sets max number of milliseconds for which the query for cache initialization should be executed and the resulset read from ResultSet. |
protected void |
setQueryTimeout(int newValue)
Sets QueryTimeout parameter to value newValue. |
protected void |
setQueryTimeoutCacheInit(int timeout)
Sets max number of seconds for which the query for cache initialization should be executed. |
protected void |
setReserveFactor(double newReserveFactor)
Sets reserveFactor parameter to value newReserveFactor. |
protected void |
setSelectOids(boolean newValue)
Sets selectOids parameter. |
protected void |
setSimpleCacheRowCountLimit(int rowCount)
Sets the max number of rows in the table for which is simple cache still used. |
void |
setSqlBatch(boolean b)
|
protected void |
setSynchLoadRowCountLimit(int rowCount)
Sets the max number of rows in the table for which the synchronous cache load is performed if defined by configuration. |
protected void |
setTransactionCaches(boolean newCheck)
Sets TransactionCaches parameter to value newCheck. |
protected void |
setTransactionCheck(boolean newCheck)
Sets TransactionCheck parameter to value newCheck. |
void |
setUseCursorName(boolean newValue)
Sets UseCursorName parameter to value newValue. |
void |
setUseCursorName(java.lang.Boolean newValue)
Sets UseCursorName parameter to value newValue. |
void |
setUserConfigSingleWildcard(java.lang.String newValue)
Sets UserConfigSingleWildcard parameter to value string. |
void |
setUserConfigSingleWildcardEscape(java.lang.String newValue)
Sets UserConfigSingleWildcardEscape parameter to value string. |
void |
setUserConfigWildcard(java.lang.String newValue)
Sets UserConfigWildcard parameter to value string. |
void |
setUserConfigWildcardEscape(java.lang.String newValue)
Sets UserConfigWildcardEscape parameter to value string. |
void |
setXaDefaultTimeout(int xaDefaultTimeout)
|
void |
setXaJtaSupport(java.lang.String xaJtaSupport)
|
void |
setXaTransactionManagerLookupName(java.lang.String xaTransactionManagerLookupName)
|
void |
setXaUsageCase(int xaUsageCase)
|
void |
setXaUserTransactionLookupName(java.lang.String xaUserTransactionLookupName)
|
void |
setXaWrappedTransImplFactory(java.lang.String xaWrappedTransImplFactory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseManagerConfiguration()
Method Detail |
---|
public boolean isLazyLoading()
public boolean getCaseSensitive()
public void setCaseSensitive(boolean newValue)
newValue
- New value for CaseSensitive parameterprotected void setLazyLoading(boolean newlazyLoading)
newlazyLoading
- New lazy-loading value.public int getMaxExecuteTime()
protected void setMaxExecuteTime(int newMaxExecuteTime)
newMaxExecuteTime
- New maxExecuteTime value.public int getMaxCacheSize()
protected void setMaxCacheSize(int newMaxCacheSize)
newMaxCacheSize
- New maxCacheSize value.public double getReserveFactor()
protected void setReserveFactor(double newReserveFactor)
newReserveFactor
- New reserveFactor value.protected void setCachePercentage(double percent)
public double getCachePercentage()
public int getMaxComplexCacheSize()
protected void setMaxComplexCacheSize(int newMaxCacheSize)
newMaxCacheSize
- New newMaxComplexCacheSize value.public int getMaxMultiJoinCacheSize()
protected void setMaxMultiJoinCacheSize(int newMaxCacheSize)
newMaxCacheSize
- New maxMultiJoinCacheSize value.public int getMaxSimpleCacheSize()
protected void setMaxSimpleCacheSize(int newMaxCacheSize)
newMaxCacheSize
- New newMaxCacheSize value.public boolean getTransactionCheck()
protected void setTransactionCheck(boolean newCheck)
newCheck
- New TransactionCheck value.public boolean getDeleteCheckVersion()
protected void setDeleteCheckVersion(boolean newCheck)
newCheck
- New DeleteCheckVersion value.public boolean getAutoSave()
protected void setAutoSave(boolean newCheck)
newCheck
- New AutoSave value.public boolean getAutoSaveCreateVirgin()
protected void setAutoSaveCreateVirgin(boolean newCheck)
newCheck
- New AutoSaveCreateVirgin value.public boolean getAutoWrite()
protected void setAutoWrite(boolean newCheck)
newCheck
- New AutoWrite value.public boolean getTransactionCaches()
protected void setTransactionCaches(boolean newCheck)
newCheck
- New TransactionCaches value.public int getDeadlockWaitTime()
protected void setDeadlockWaitTime(int waitTime)
waitTime
- New DeadlockWaitTime value.public int getDeadlockRetryCount()
protected void setDeadlockRetryCount(int newValue)
newValue
- New DeadlockRetryCount value.public int getQueryTimeout()
protected void setQueryTimeout(int newValue)
newValue
- New QueryTimeout value.public boolean getSelectOids()
protected void setSelectOids(boolean newValue)
newValue
- New selectOids value.public boolean getIncrementVersions()
protected void setIncrementVersions(boolean newValue)
newValue
- New IncrementVersions value.public int getDefaultFetchSize()
protected void setDefaultFetchSize(int newValue)
newValue
- New DefaultFetchSize value.public boolean getInitAllCaches()
protected void setInitAllCaches(boolean newValue)
newValue
- New InitAllCaches value.public java.lang.Boolean getUseCursorName()
public void setUseCursorName(boolean newValue)
newValue
- New UseCursorName value.public void setUseCursorName(java.lang.Boolean newValue)
newValue
- New UseCursorName value.public java.lang.String getUserConfigSingleWildcard()
public java.lang.String getUserConfigSingleWildcardEscape()
public java.lang.String getUserConfigWildcard()
public java.lang.String getUserConfigWildcardEscape()
public void setUserConfigSingleWildcard(java.lang.String newValue)
newValue
- New value for UserConfigSingleWildcardpublic void setUserConfigSingleWildcardEscape(java.lang.String newValue)
newValue
- New value for UserConfigSingleWildcardEscapepublic void setUserConfigWildcard(java.lang.String newValue)
newValue
- New value for UserConfigWildcardpublic void setUserConfigWildcardEscape(java.lang.String newValue)
newValue
- New value for UserConfigWildcardEscapepublic boolean isAllReadOnly()
public void setAllReadOnly(boolean newValue)
newValue
- New value for AllReadOnlypublic java.lang.String getDBTransactionFactoryName()
public void setDBTransactionFactoryName(java.lang.String string)
string
- public java.lang.String getConnectionAllocatorName()
public void setConnectionAllocatorName(java.lang.String string)
string
- public int getFullCacheCountLimit()
public void setFullCacheCountLimit(int i)
i
- New SimpleCacheCountLimit value;public void readDatabaseManagerConfiguration()
public java.lang.String getDBConnectionFactoryName()
public void setDBConnectionFactoryName(java.lang.String string)
string
- public int getInitialCacheFetchSize()
public int getInitialDSCacheSize()
public void setInitialCacheFetchSize(int i)
i
- public void setInitialDSCacheSize(int i)
i
- public java.lang.String getQueryCacheImplClass()
public void setQueryCacheImplClass(java.lang.String string)
string
- public java.lang.String getInitCachesResultSetConcurrency()
public java.lang.String getInitCachesResultSetType()
public void setInitCachesResultSetConcurrency(java.lang.String string)
string
- public void setInitCachesResultSetType(java.lang.String string)
string
- public boolean isSqlBatch()
public void setSqlBatch(boolean b)
b
- public boolean isCaseInsensitiveDatabase()
public void setCaseInsensitiveDatabase(boolean caseInsensitiveDatabase)
caseInsensitiveDatabase
- The caseInsensitiveDatabase to set.public java.lang.Integer getQueryTimeLimit()
public void setQueryTimeLimit(java.lang.Integer queryTimeLimit)
queryTimeLimit
- The queryTimeLimit to set.public int getXaDefaultTimeout()
public void setXaDefaultTimeout(int xaDefaultTimeout)
xaDefaultTimeout
- The xaDefaultTimeout to set.public java.lang.String getXaTransactionManagerLookupName()
public void setXaTransactionManagerLookupName(java.lang.String xaTransactionManagerLookupName)
xaTransactionManagerLookupName
- The xaTransactionManagerLookupName to set.public int getXaUsageCase()
public void setXaUsageCase(int xaUsageCase)
xaUsageCase
- The xaUsageCase to set.public java.lang.String getXaWrappedTransImplFactory()
public void setXaWrappedTransImplFactory(java.lang.String xaWrappedTransImplFactory)
xaWrappedTransImplFactory
- The xaWrappedTransImplFactory to set.public java.lang.String getXaUserTransactionLookupName()
public void setXaUserTransactionLookupName(java.lang.String xaUserTransactionLookupName)
xaUserTransactionLookupName
- The xaUserTransactionLookupName to set.public java.lang.String getXaJtaSupport()
public void setXaJtaSupport(java.lang.String xaJtaSupport)
xaJtaSupport
- The xaJtaSupport to set.public java.lang.String getDodsCacheFactory()
public void setDodsCacheFactory(java.lang.String dods_cache_factory)
dods_cache_factory
- The dods_cache_factory to set.public int getObjectIdentityType()
public void setObjectIdentityType(int objectIdentityType)
objectIdentityType
- The objectIdentityType to set.public int getAsynchLoadThreadNum()
protected void setAsynchLoadThreadNum(int asynchLoadThreadNum)
asynchLoadThreadNum
- The number of threads used for asynchronous cache
initialization to set.public int getSimpleCacheRowCountLimit()
protected void setSimpleCacheRowCountLimit(int rowCount)
rowCount
- max number of rows in the table for which is simple cache still used.public int getSynchLoadRowCountLimit()
protected void setSynchLoadRowCountLimit(int rowCount)
rowCount
- the max number of rows in the table for which the synchronous cache
load is performed if defined by configuration.public int getMaxExecuteTimeCacheInit()
protected void setMaxExecuteTimeCacheInit(int maxExeTime)
maxExeTime
- new value for max execution time for the cache
initialization.public int getQueryTimeLimitCacheInit()
protected void setQueryTimeLimitCacheInit(int timeLimit)
timeLimit
- new value for time limit for cache initialization.public int getQueryTimeoutCacheInit()
protected void setQueryTimeoutCacheInit(int timeout)
timeout
- new value for query timeout for cache initialization.
|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |