public class RuntimeRegistry extends Object
| Constructor and Description |
|---|
RuntimeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static GraphAwareRuntime |
getRuntime(org.neo4j.graphdb.GraphDatabaseService database)
Get the
GraphAwareRuntime registered with the given database. |
static GraphAwareRuntime |
getStartedRuntime(org.neo4j.graphdb.GraphDatabaseService database)
Get the
GraphAwareRuntime registered with the given database. |
static void |
registerRuntime(org.neo4j.graphdb.GraphDatabaseService database,
GraphAwareRuntime runtime)
Register a runtime.
|
static void |
removeRuntime(org.neo4j.graphdb.GraphDatabaseService database)
Remove a runtime from the registry.
|
public static void registerRuntime(org.neo4j.graphdb.GraphDatabaseService database,
GraphAwareRuntime runtime)
database - against which the runtime is running.runtime - the runtime.public static GraphAwareRuntime getRuntime(org.neo4j.graphdb.GraphDatabaseService database)
GraphAwareRuntime registered with the given database.database - for which to get runtime.public static GraphAwareRuntime getStartedRuntime(org.neo4j.graphdb.GraphDatabaseService database)
GraphAwareRuntime registered with the given database.database - for which to get runtime.IllegalStateException - in case no runtime is registered with this database.public static void removeRuntime(org.neo4j.graphdb.GraphDatabaseService database)
database - against which the runtime to be removed is running.Copyright © 2013–2015 Graph Aware Limited. All rights reserved.