public class DatabasePool extends Object
Configuration system properties:
"neo4j.pool.database.type"
- database type label. Possible values are described in DatabaseFactoryTypeLabels
."neo4j.pool.database.config"
- Neo4J database configuration dictionary"neo4j.pool.doWarmUp"
- boolean flag denoting whether to perform initial database warm up (iterates over all properties for
all nodes), defaults to falseModifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY_KEY
System property name for Neo4J configuration dictionary.
|
static String |
DBTYPE_PROPERTY_KEY
System property name for database
DatabaseFactoryType label. |
static DatabasePool |
instance
Singleton instance.
|
static boolean |
WARMUP_DEFAULT_VALUE
Default value for db warmup setting.
|
static String |
WARMUP_PROPERTY_KEY
System property name for db warmup.
|
Modifier and Type | Method and Description |
---|---|
org.neo4j.graphdb.GraphDatabaseService |
get(String url)
Gets database instance configured as in system properties operating at the given URL.
|
public static final DatabasePool instance
public static final String DBTYPE_PROPERTY_KEY
DatabaseFactoryType
label.DatabaseFactoryTypeLabels
,
Constant Field Valuespublic static final String CONFIG_PROPERTY_KEY
public static final String WARMUP_PROPERTY_KEY
public static final boolean WARMUP_DEFAULT_VALUE
public org.neo4j.graphdb.GraphDatabaseService get(String url)
url
- database urlCopyright © 2002 – 2024 Project Wonder.