public enum DatabaseFactoryType extends Enum<DatabaseFactoryType>
DatabaseFactoryTypeLabels| Enum Constant and Description |
|---|
EMBEDDED_READ_ONLY
Embedded database running in read-only mode (useful when the db is locked by another instance running in writable mode and locking database).
|
EMBEDDED_WRITABLE
Embedded database running in writable mode.
|
HIGHLY_AVAILABLE
Highly available database.
|
| Modifier and Type | Method and Description |
|---|---|
Neo4JDatabaseFactory |
getFactory() |
static DatabaseFactoryType |
getForLabel(String label)
Gets factory type for the given type label.
|
static DatabaseFactoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseFactoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseFactoryType EMBEDDED_READ_ONLY
public static final DatabaseFactoryType EMBEDDED_WRITABLE
public static final DatabaseFactoryType HIGHLY_AVAILABLE
public static DatabaseFactoryType[] values()
for (DatabaseFactoryType c : DatabaseFactoryType.values()) System.out.println(c);
public static DatabaseFactoryType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DatabaseFactoryType getForLabel(String label)
label - public Neo4JDatabaseFactory getFactory()
Copyright © 2002 – 2025 Project Wonder.