public class LifecycleManagingDatabase extends Object implements Database
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecycleManagingDatabase.GraphFactory |
Database.Factory| Constructor and Description |
|---|
LifecycleManagingDatabase(org.neo4j.kernel.configuration.Config config,
LifecycleManagingDatabase.GraphFactory dbFactory,
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.Dependencies dependencies) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.kernel.impl.factory.GraphDatabaseFacade |
getGraph() |
String |
getLocation() |
void |
init() |
boolean |
isRunning() |
static Database.Factory |
lifecycleManagingDatabase(LifecycleManagingDatabase.GraphFactory graphDbFactory) |
void |
shutdown() |
void |
start() |
void |
stop() |
public LifecycleManagingDatabase(org.neo4j.kernel.configuration.Config config,
LifecycleManagingDatabase.GraphFactory dbFactory,
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.Dependencies dependencies)
public static Database.Factory lifecycleManagingDatabase(LifecycleManagingDatabase.GraphFactory graphDbFactory)
public String getLocation()
getLocation in interface Databasepublic org.neo4j.kernel.impl.factory.GraphDatabaseFacade 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–2016 The Neo4j Graph Database Project. All rights reserved.