public class InstanceRoleUtils extends Object
| Constructor and Description |
|---|
InstanceRoleUtils(org.neo4j.graphdb.GraphDatabaseService database)
Manage role on database instance
|
| Modifier and Type | Method and Description |
|---|---|
InstanceRole |
getInstanceRole()
Get the role of the instance in the cluster
|
org.neo4j.kernel.impl.factory.OperationalMode |
getOperationalMode()
Get the cluster configuration mode
|
protected <T> T |
resolveDependency(Class<T> type) |
public InstanceRoleUtils(org.neo4j.graphdb.GraphDatabaseService database)
database - protected <T> T resolveDependency(Class<T> type)
public org.neo4j.kernel.impl.factory.OperationalMode getOperationalMode()
public InstanceRole getInstanceRole()
Copyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.