public class EnvironmentConfig extends EnvironmentMutableConfig
Modifier and Type | Field and Description |
---|---|
static EnvironmentConfig |
DEFAULT |
cacheSize, props
Constructor and Description |
---|
EnvironmentConfig()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
EnvironmentConfig(java.util.Properties properties)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowCreate()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
ExceptionListener |
getExceptionListener()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
boolean |
getLocking()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
long |
getLockTimeout()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
boolean |
getReadOnly()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
boolean |
getTransactional()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
boolean |
getTxnSerializableIsolation()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
long |
getTxnTimeout()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setAllowCreate(boolean allowCreate)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setConfigParam(java.lang.String paramName,
java.lang.String value)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setExceptionListener(ExceptionListener exceptionListener)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setLocking(boolean locking)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setLockTimeout(long timeout)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setReadOnly(boolean readOnly)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setTransactional(boolean transactional)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setTxnSerializableIsolation(boolean txnSerializableIsolation)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setTxnTimeout(long timeout)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
java.lang.String |
toString() |
clone, getCachePercent, getCacheSize, getConfigParam, getTxnNoSync, getTxnWriteNoSync, setCachePercent, setCacheSize, setTxnNoSync, setTxnWriteNoSync
public static final EnvironmentConfig DEFAULT
public EnvironmentConfig()
public EnvironmentConfig(java.util.Properties properties) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void setAllowCreate(boolean allowCreate)
public boolean getAllowCreate()
public void setLockTimeout(long timeout) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public long getLockTimeout()
public void setReadOnly(boolean readOnly)
public boolean getReadOnly()
public void setTransactional(boolean transactional)
public boolean getTransactional()
public void setLocking(boolean locking)
public boolean getLocking()
public void setTxnTimeout(long timeout) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public long getTxnTimeout()
public void setTxnSerializableIsolation(boolean txnSerializableIsolation)
public boolean getTxnSerializableIsolation()
public void setExceptionListener(ExceptionListener exceptionListener)
public ExceptionListener getExceptionListener()
public void setConfigParam(java.lang.String paramName, java.lang.String value) throws java.lang.IllegalArgumentException
setConfigParam
in class EnvironmentMutableConfig
java.lang.IllegalArgumentException
public java.lang.String toString()
toString
in class EnvironmentMutableConfig