public interface InactiveDatabaseMBean extends ActiveDatabaseMBean
Modifier and Type | Method and Description |
---|---|
void |
removeProperty(java.lang.String name)
Removes the specified property.
|
void |
setLocal(boolean local)
Sets whether or not this database is local to the machine on which the JVM resides.
|
void |
setPassword(java.lang.String password)
Set the password for this database
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Set the value of the specified property.
|
void |
setUser(java.lang.String user)
Set the user for this database.
|
void |
setWeight(int weight)
Set the weight for this database
|
getId, getPassword, getProperties, getUser, getWeight, isLocal
void setWeight(int weight)
weight
- a weightjava.lang.IllegalArgumentException
- if weight is less than 0void setUser(java.lang.String user)
user
- a uservoid setPassword(java.lang.String password)
password
- a passwordvoid setProperty(java.lang.String name, java.lang.String value)
name
- a property namevalue
- a property valuevoid removeProperty(java.lang.String name)
name
- a property namevoid setLocal(boolean local)
local
- true if local, false if remote