|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.dods.cache.TableConfiguration
public class TableConfiguration
TableConfiguration contains parameters about table configuration. It reads these parameters from application's configuration file, sets them to new values or returns their current values.
Field Summary |
---|
Constructor Summary | |
---|---|
TableConfiguration()
|
Method Summary | |
---|---|
int |
getDefaultFetchSize()
Returns DefaultFetchSize parameter. |
int |
getFullCacheCountLimit()
|
boolean |
getIncrementVersions()
Returns IncrementVersions parameter. |
int |
getInitCachesResultSetConcurrency()
Return value of InitCachesResultSetConcurrency property |
int |
getInitCachesResultSetType()
Return value of InitCachesResultSetType property |
int |
getMaxExecuteTime()
Returns maxExecuteTime parameter. |
int |
getObjectIdentityType()
|
java.lang.Integer |
getQueryTimeLimit()
|
int |
getQueryTimeout()
Returns QueryTimeout parameter. |
boolean |
getSelectOids()
Returns selectOids parameter. |
boolean |
isCaseSensitive()
Returns CaseSensitive parameter. |
boolean |
isLazyLoading()
Returns lazyLoading parameter. |
boolean |
isReadOnly()
Returns readOnly parameter. |
void |
readTableConfiguration(Config tableConfig,
java.lang.String dbName)
Reads table configuration parameters. |
void |
setCaseSensitive(boolean newValue)
Set CaseSensitive parameter to newValue value. |
void |
setFullCacheCountLimit(int i)
|
void |
setInitCachesResultSetConcurrency(java.lang.String string)
|
void |
setInitCachesResultSetType(java.lang.String string)
|
protected void |
setLazyLoading(boolean newlazyLoading)
Sets readOnly parameter to value newlazyLoading. |
protected void |
setMaxExecuteTime(int newMaxExecuteTime)
Sets maxExecuteTime parameter to value newMaxExecuteTime. |
void |
setObjectIdentityType(int objectIdentityType)
|
void |
setQueryTimeLimit(java.lang.Integer queryTimeLimit)
|
protected void |
setReadOnly(boolean newReadOnly)
Sets readOnly parameter to value newReadOnly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableConfiguration()
Method Detail |
---|
public boolean isReadOnly()
protected void setReadOnly(boolean newReadOnly) throws AssertionDataObjectException
newReadOnly
- New read-only value.
AssertionDataObjectException
- If new value of read-only is
false, but all application's tables are read-only.public int getInitCachesResultSetType()
public int getInitCachesResultSetConcurrency()
public void setInitCachesResultSetConcurrency(java.lang.String string)
string
- public void setInitCachesResultSetType(java.lang.String string)
string
- public boolean isLazyLoading()
protected void setLazyLoading(boolean newlazyLoading)
newlazyLoading
- New lazy-loading value.public int getMaxExecuteTime()
protected void setMaxExecuteTime(int newMaxExecuteTime)
newMaxExecuteTime
- New maxExecuteTime value.public int getDefaultFetchSize()
public int getQueryTimeout()
public boolean getSelectOids()
public boolean isCaseSensitive()
public void setCaseSensitive(boolean newValue)
newValue
- New value for CaseSensitive parameterpublic boolean getIncrementVersions()
public int getFullCacheCountLimit()
public void setFullCacheCountLimit(int i)
public java.lang.Integer getQueryTimeLimit()
public void setQueryTimeLimit(java.lang.Integer queryTimeLimit)
queryTimeLimit
- The queryTimeLimit to set.public int getObjectIdentityType()
public void setObjectIdentityType(int objectIdentityType)
objectIdentityType
- The objectIdentityType to set.public void readTableConfiguration(Config tableConfig, java.lang.String dbName)
tableConfig
- Configuration file from which the parameters are read.
|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |