org.neo4j.kernel
Class HighlyAvailableGraphDatabase
java.lang.Object
org.neo4j.kernel.AbstractGraphDatabase
org.neo4j.tooling.wrap.WrappedGraphDatabase
org.neo4j.kernel.HighlyAvailableGraphDatabase
- All Implemented Interfaces:
- org.neo4j.graphdb.GraphDatabaseService
public class HighlyAvailableGraphDatabase
- extends org.neo4j.tooling.wrap.WrappedGraphDatabase
| Fields inherited from class org.neo4j.tooling.wrap.WrappedGraphDatabase |
graphdb |
|
Method Summary |
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedNodeIndex |
automaticNodeIndex(org.neo4j.graphdb.index.ReadableIndex<org.neo4j.graphdb.Node> index)
|
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedRelationshipIndex |
automaticRelationshipIndex(org.neo4j.graphdb.index.ReadableRelationshipIndex index)
|
HAGraphDb |
getRawHaDb()
|
boolean |
isMaster()
|
static Map<String,String> |
loadConfigurations(String file)
|
protected org.neo4j.tooling.wrap.WrappedNode<? extends org.neo4j.tooling.wrap.WrappedGraphDatabase> |
node(org.neo4j.graphdb.Node node,
boolean created)
|
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedNodeIndex |
nodeIndex(org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> index,
String indexName)
|
void |
pullUpdates()
|
protected org.neo4j.tooling.wrap.WrappedRelationship<? extends org.neo4j.tooling.wrap.WrappedGraphDatabase> |
relationship(org.neo4j.graphdb.Relationship relationship,
boolean created)
|
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedRelationshipIndex |
relationshipIndex(org.neo4j.graphdb.index.RelationshipIndex index,
String indexName)
|
| Methods inherited from class org.neo4j.tooling.wrap.WrappedGraphDatabase |
beginTx, createNode, equals, getAllNodes, getConfig, getManagementBeans, getNodeById, getReferenceNode, getRelationshipById, getRelationshipTypes, getStoreDir, hashCode, index, isReadOnly, onBeginTransaction, onFailureTransaction, onFinishTransaction, onNodeCreate, onShutdown, onSuccessTransaction, registerKernelEventHandler, registerTransactionEventHandler, shutdown, toString, unregisterKernelEventHandler, unregisterTransactionEventHandler |
| Methods inherited from class org.neo4j.kernel.AbstractGraphDatabase |
getManagementBean, getSingleManagementBean |
CONFIG_KEY_OLD_SERVER_ID
public static final String CONFIG_KEY_OLD_SERVER_ID
- See Also:
- Constant Field Values
CONFIG_KEY_SERVER_ID
public static final String CONFIG_KEY_SERVER_ID
- See Also:
- Constant Field Values
CONFIG_KEY_OLD_COORDINATORS
public static final String CONFIG_KEY_OLD_COORDINATORS
- See Also:
- Constant Field Values
CONFIG_KEY_COORDINATORS
public static final String CONFIG_KEY_COORDINATORS
- See Also:
- Constant Field Values
CONFIG_KEY_SERVER
public static final String CONFIG_KEY_SERVER
- See Also:
- Constant Field Values
CONFIG_KEY_CLUSTER_NAME
public static final String CONFIG_KEY_CLUSTER_NAME
- See Also:
- Constant Field Values
CONFIG_KEY_PULL_INTERVAL
public static final String CONFIG_KEY_PULL_INTERVAL
- See Also:
- Constant Field Values
CONFIG_KEY_ALLOW_INIT_CLUSTER
public static final String CONFIG_KEY_ALLOW_INIT_CLUSTER
- See Also:
- Constant Field Values
CONFIG_KEY_MAX_CONCURRENT_CHANNELS_PER_SLAVE
public static final String CONFIG_KEY_MAX_CONCURRENT_CHANNELS_PER_SLAVE
- See Also:
- Constant Field Values
CONFIG_KEY_BRANCHED_DATA_POLICY
public static final String CONFIG_KEY_BRANCHED_DATA_POLICY
- See Also:
- Constant Field Values
CONFIG_KEY_READ_TIMEOUT
public static final String CONFIG_KEY_READ_TIMEOUT
- See Also:
- Constant Field Values
CONFIG_KEY_LOCK_READ_TIMEOUT
public static final String CONFIG_KEY_LOCK_READ_TIMEOUT
- See Also:
- Constant Field Values
CONFIG_KEY_SLAVE_COORDINATOR_UPDATE_MODE
public static final String CONFIG_KEY_SLAVE_COORDINATOR_UPDATE_MODE
- See Also:
- Constant Field Values
HighlyAvailableGraphDatabase
public HighlyAvailableGraphDatabase(String storeDir,
Map<String,String> config)
HighlyAvailableGraphDatabase
public HighlyAvailableGraphDatabase(HAGraphDb graphdb)
loadConfigurations
public static Map<String,String> loadConfigurations(String file)
pullUpdates
public void pullUpdates()
isMaster
public boolean isMaster()
getRawHaDb
public HAGraphDb getRawHaDb()
node
protected org.neo4j.tooling.wrap.WrappedNode<? extends org.neo4j.tooling.wrap.WrappedGraphDatabase> node(org.neo4j.graphdb.Node node,
boolean created)
- Specified by:
node in class org.neo4j.tooling.wrap.WrappedGraphDatabase
relationship
protected org.neo4j.tooling.wrap.WrappedRelationship<? extends org.neo4j.tooling.wrap.WrappedGraphDatabase> relationship(org.neo4j.graphdb.Relationship relationship,
boolean created)
- Specified by:
relationship in class org.neo4j.tooling.wrap.WrappedGraphDatabase
nodeIndex
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedNodeIndex nodeIndex(org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> index,
String indexName)
- Overrides:
nodeIndex in class org.neo4j.tooling.wrap.WrappedGraphDatabase
relationshipIndex
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedRelationshipIndex relationshipIndex(org.neo4j.graphdb.index.RelationshipIndex index,
String indexName)
- Overrides:
relationshipIndex in class org.neo4j.tooling.wrap.WrappedGraphDatabase
automaticNodeIndex
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedNodeIndex automaticNodeIndex(org.neo4j.graphdb.index.ReadableIndex<org.neo4j.graphdb.Node> index)
- Overrides:
automaticNodeIndex in class org.neo4j.tooling.wrap.WrappedGraphDatabase
automaticRelationshipIndex
protected org.neo4j.tooling.wrap.WrappedIndex.WrappedRelationshipIndex automaticRelationshipIndex(org.neo4j.graphdb.index.ReadableRelationshipIndex index)
- Overrides:
automaticRelationshipIndex in class org.neo4j.tooling.wrap.WrappedGraphDatabase
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.