com.sleepycat.je
Class EnvironmentConfig

java.lang.Object
  extended by com.sleepycat.je.EnvironmentMutableConfig
      extended by com.sleepycat.je.EnvironmentConfig
All Implemented Interfaces:
Cloneable

public class EnvironmentConfig
extends EnvironmentMutableConfig

Javadoc for this public class is generated via the doc templates in the doc_src directory.


Field Summary
(package private) static EnvironmentConfig DEFAULT
           
 
Fields inherited from class com.sleepycat.je.EnvironmentMutableConfig
cacheSize
 
Constructor Summary
EnvironmentConfig()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
EnvironmentConfig(Properties properties)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 
Method Summary
(package private)  EnvironmentConfig cloneConfig()
          Used by Environment to create a copy of the application supplied configuration.
 boolean getAllowCreate()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
(package private)  boolean getCheckpointUP()
          For unit testing, to prevent writing utilization data during checkpoint.
 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.
(package private)  boolean getTxnReadCommitted()
          For unit testing, to set readCommitted as the default.
 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.
(package private)  void setCheckpointUP(boolean checkpointUP)
          For unit testing, to prevent writing utilization data during checkpoint.
 void setConfigParam(String paramName, String value)
          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.
(package private)  void setTxnReadCommitted(boolean txnReadCommitted)
          For unit testing, to set readCommitted as the default.
 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.
 String toString()
           
 
Methods inherited from class com.sleepycat.je.EnvironmentMutableConfig
checkImmutablePropsForEquality, clone, cloneMutableConfig, copyHandlePropsTo, copyMutablePropsTo, fillInEnvironmentGeneratedProps, getCachePercent, getCacheSize, getConfigParam, getLoadPropertyFile, getNumExplicitlySetParams, getTxnNoSync, getTxnWriteNoSync, getVal, setCachePercent, setCacheSize, setLoadPropertyFile, setTxnNoSync, setTxnWriteNoSync, setVal, setValidateParams, validateProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

static EnvironmentConfig DEFAULT
Constructor Detail

EnvironmentConfig

public EnvironmentConfig()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


EnvironmentConfig

public EnvironmentConfig(Properties properties)
                  throws IllegalArgumentException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
IllegalArgumentException
Method Detail

setAllowCreate

public void setAllowCreate(boolean allowCreate)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getAllowCreate

public boolean getAllowCreate()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setLockTimeout

public void setLockTimeout(long timeout)
                    throws IllegalArgumentException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
IllegalArgumentException

getLockTimeout

public long getLockTimeout()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setReadOnly

public void setReadOnly(boolean readOnly)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getReadOnly

public boolean getReadOnly()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setTransactional

public void setTransactional(boolean transactional)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getTransactional

public boolean getTransactional()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setTxnTimeout

public void setTxnTimeout(long timeout)
                   throws IllegalArgumentException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
IllegalArgumentException

getTxnTimeout

public long getTxnTimeout()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setTxnSerializableIsolation

public void setTxnSerializableIsolation(boolean txnSerializableIsolation)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getTxnSerializableIsolation

public boolean getTxnSerializableIsolation()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setTxnReadCommitted

void setTxnReadCommitted(boolean txnReadCommitted)
For unit testing, to set readCommitted as the default.


getTxnReadCommitted

boolean getTxnReadCommitted()
For unit testing, to set readCommitted as the default.


setConfigParam

public void setConfigParam(String paramName,
                           String value)
                    throws IllegalArgumentException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Overrides:
setConfigParam in class EnvironmentMutableConfig
Throws:
IllegalArgumentException

setCheckpointUP

void setCheckpointUP(boolean checkpointUP)
For unit testing, to prevent writing utilization data during checkpoint.


getCheckpointUP

boolean getCheckpointUP()
For unit testing, to prevent writing utilization data during checkpoint.


cloneConfig

EnvironmentConfig cloneConfig()
Used by Environment to create a copy of the application supplied configuration.


toString

public String toString()
Overrides:
toString in class EnvironmentMutableConfig


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.