com.sleepycat.je.util
Class DbPreUpgrade_4_1
java.lang.Object
com.sleepycat.je.util.DbPreUpgrade_4_1
public class DbPreUpgrade_4_1
- extends Object
In JE 5.0 the internal log format changed. Before upgrading environments to
JE 5.0, this utility must first be run using JE 4.1.
This utility is used for standalone environments. For replicated
environments, please use
DbRepPreUpgrade_4_1
instead.
The command line for this utility:
java com.sleepycat.je.util.DbPreUpgrade_4_1
-h <dir> # environment home directory
See main(java.lang.String[])
for a full description of the command line
arguments.
Constructor Summary |
DbPreUpgrade_4_1(File envHome)
Create a DbPreUpgrade_4_1 object for a specific environment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbPreUpgrade_4_1
public DbPreUpgrade_4_1(File envHome)
- Create a DbPreUpgrade_4_1 object for a specific environment.
- Parameters:
envHome
- The home directory of the Environment that needs to be
upgraded to JE 5.0.
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
preUpgrade
public void preUpgrade()
- Ensure that an Environment can be upgraded to JE 5.0.
configureForPreUpgrade
public static void configureForPreUpgrade(EnvironmentConfig envConfig)
performPreUpgrade
public static void performPreUpgrade(Environment env)
Copyright (c) 2004-2010 Oracle. All rights reserved.