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(java.lang.String configName,
boolean defaultValue,
boolean mutable,
boolean forReplication,
java.lang.String description)
Set a boolean parameter w/default. |
Method Summary |
void |
validateValue(java.lang.String value)
Make sure that value is a valid string for booleans. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanConfigParam
BooleanConfigParam(java.lang.String configName,
boolean defaultValue,
boolean mutable,
boolean forReplication,
java.lang.String description)
- Set a boolean parameter w/default.
- Parameters:
configName
- defaultValue
- forReplication
- true if param is only used for replication
validateValue
public void validateValue(java.lang.String value)
throws java.lang.IllegalArgumentException
- Make sure that value is a valid string for booleans.
- Overrides:
validateValue
in class ConfigParam
- Throws:
java.lang.IllegalArgumentException
Copyright 2004,2008 Oracle. All rights reserved.