public class LifecycleManagingDatabase extends Object implements Database
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecycleManagingDatabase.GraphFactory |
Database.Factory| Modifier and Type | Field and Description |
|---|---|
static LifecycleManagingDatabase.GraphFactory |
EMBEDDED |
| Constructor and Description |
|---|
LifecycleManagingDatabase(org.neo4j.kernel.configuration.Config dbConfig,
LifecycleManagingDatabase.GraphFactory dbFactory,
org.neo4j.kernel.InternalAbstractGraphDatabase.Dependencies dependencies) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.kernel.GraphDatabaseAPI |
getGraph() |
String |
getLocation() |
org.neo4j.kernel.logging.Logging |
getLogging() |
void |
init() |
boolean |
isRunning() |
static Database.Factory |
lifecycleManagingDatabase(LifecycleManagingDatabase.GraphFactory graphDbFactory) |
void |
shutdown() |
void |
start() |
void |
stop() |
public static final LifecycleManagingDatabase.GraphFactory EMBEDDED
public LifecycleManagingDatabase(org.neo4j.kernel.configuration.Config dbConfig,
LifecycleManagingDatabase.GraphFactory dbFactory,
org.neo4j.kernel.InternalAbstractGraphDatabase.Dependencies dependencies)
public static Database.Factory lifecycleManagingDatabase(LifecycleManagingDatabase.GraphFactory graphDbFactory)
public org.neo4j.kernel.logging.Logging getLogging()
getLogging in interface Databasepublic String getLocation()
getLocation in interface Databasepublic org.neo4j.kernel.GraphDatabaseAPI getGraph()
public void init()
throws Throwable
init in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void shutdown()
throws Throwable
shutdown in interface org.neo4j.kernel.lifecycle.LifecycleThrowableCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.