|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.backends.jeb.EnvManager
public class EnvManager
A singleton class to manage the life-cycle of a JE database environment.
| Constructor Summary | |
|---|---|
EnvManager()
|
|
| Method Summary | |
|---|---|
static void |
createHomeDir(java.lang.String homeDir)
Creates the environment home directory, deleting any existing data files if the directory already exists. |
static void |
removeFiles(java.lang.String homeDir)
Deletes all the data files associated with the environment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnvManager()
| Method Detail |
|---|
public static void createHomeDir(java.lang.String homeDir)
throws JebException
homeDir - The backend home directory.
JebException - If an error occurs in the JE backend.
public static void removeFiles(java.lang.String homeDir)
throws JebException
homeDir - The backend home directory
JebException - If an error occurs in the JE backend or if the
specified home directory does not exist.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||