org.neo4j.kernel.ha
Enum BranchedDataPolicy
java.lang.Object
java.lang.Enum<BranchedDataPolicy>
org.neo4j.kernel.ha.BranchedDataPolicy
- All Implemented Interfaces:
- Serializable, Comparable<BranchedDataPolicy>
public enum BranchedDataPolicy
- extends Enum<BranchedDataPolicy>
keep_all
public static final BranchedDataPolicy keep_all
keep_last
public static final BranchedDataPolicy keep_last
keep_none
public static final BranchedDataPolicy keep_none
values
public static BranchedDataPolicy[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BranchedDataPolicy c : BranchedDataPolicy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BranchedDataPolicy valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
handle
public abstract void handle(File storeDir)
throws IOException
- Throws:
IOException
moveAwayDb
protected void moveAwayDb(File storeDir,
File branchedDataDir)
throws IOException
- Throws:
IOException
isBranchedDataRootDirectory
public static boolean isBranchedDataRootDirectory(File directory)
isBranchedDataDirectory
public static boolean isBranchedDataDirectory(File directory)
getBranchedDataRootDirectory
public static File getBranchedDataRootDirectory(File storeDir)
getBranchedDataDirectory
public static File getBranchedDataDirectory(File storeDir,
long timestamp)
listBranchedDataDirectories
public static File[] listBranchedDataDirectories(File storeDir)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.