|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.dbi.DbConfigManager
public class DbConfigManager
DbConfigManager holds the configuration parameters for an environment.
Constructor Summary | |
---|---|
DbConfigManager(EnvironmentConfig config)
Todo: should this even be a separate class? |
Method Summary | |
---|---|
String |
get(ConfigParam configParam)
Get this parameter from the environment wide configuration settings. |
String |
get(String configParamName)
Get this parameter from the environment wide configuration settings. |
boolean |
getBoolean(BooleanConfigParam configParam)
Get this parameter from the environment wide configuration settings. |
EnvironmentConfig |
getEnvironmentConfig()
|
int |
getInt(IntConfigParam configParam)
Get this parameter from the environment wide configuration settings. |
long |
getLong(LongConfigParam configParam)
Get this parameter from the environment wide configuration settings. |
short |
getShort(ShortConfigParam configParam)
Get this parameter from the environment wide configuration settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbConfigManager(EnvironmentConfig config) throws DbConfigException
DbConfigException
Method Detail |
---|
public EnvironmentConfig getEnvironmentConfig()
public String get(ConfigParam configParam) throws IllegalArgumentException
configParam
-
IllegalArgumentException
public String get(String configParamName) throws IllegalArgumentException
configParam
-
IllegalArgumentException
public boolean getBoolean(BooleanConfigParam configParam) throws DatabaseException
configParam
-
DatabaseException
public short getShort(ShortConfigParam configParam) throws DatabaseException
configParam
-
DatabaseException
public int getInt(IntConfigParam configParam) throws DatabaseException
configParam
-
DatabaseException
public long getLong(LongConfigParam configParam) throws DatabaseException
configParam
-
DatabaseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |