com.sleepycat.je.config
Class BooleanConfigParam
java.lang.Object
com.sleepycat.je.config.ConfigParam
com.sleepycat.je.config.BooleanConfigParam
public class BooleanConfigParam
- extends ConfigParam
A JE configuration parameter with an boolean value.
Constructor Summary |
BooleanConfigParam(String configName,
boolean defaultValue,
boolean mutable,
boolean forReplication,
String description)
Set a boolean parameter w/default. |
Method Summary |
void |
validateValue(String value)
Make sure that value is a valid string for booleans. |
BooleanConfigParam
BooleanConfigParam(String configName,
boolean defaultValue,
boolean mutable,
boolean forReplication,
String description)
- Set a boolean parameter w/default.
- Parameters:
configName
- defaultValue
- forReplication
- true if param is only used for replication
validateValue
public void validateValue(String value)
throws IllegalArgumentException
- Make sure that value is a valid string for booleans.
- Overrides:
validateValue
in class ConfigParam
- Throws:
IllegalArgumentException
Copyright 2004,2008 Oracle. All rights reserved.