com.tinkerpop.blueprints.impls.neo4j
Class Neo4jHaGraph

java.lang.Object
  extended by com.tinkerpop.blueprints.impls.neo4j.Neo4jGraph
      extended by com.tinkerpop.blueprints.impls.neo4j.Neo4jHaGraph
All Implemented Interfaces:
Graph, IndexableGraph, KeyIndexableGraph, MetaGraph<org.neo4j.graphdb.GraphDatabaseService>, TransactionalGraph

public class Neo4jHaGraph
extends Neo4jGraph

A Blueprints implementation of the graph database Neo4j (http://neo4j.org) with High Availability mode.

Author:
Stephen Mallette

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.tinkerpop.blueprints.TransactionalGraph
TransactionalGraph.Conclusion
 
Field Summary
 
Fields inherited from class com.tinkerpop.blueprints.impls.neo4j.Neo4jGraph
tx
 
Constructor Summary
Neo4jHaGraph(org.neo4j.kernel.HighlyAvailableGraphDatabase rawGraph)
           
Neo4jHaGraph(String directory, Map<String,String> configuration)
          Creates a new Neo4jHaGraph instance.
 
Method Summary
 
Methods inherited from class com.tinkerpop.blueprints.impls.neo4j.Neo4jGraph
addEdge, addVertex, autoStartTransaction, createIndex, createKeyIndex, dropIndex, dropKeyIndex, getEdge, getEdges, getEdges, getFeatures, getIndex, getIndexedKeys, getIndices, getInternalIndexKeys, getRawGraph, getVertex, getVertices, getVertices, removeEdge, removeVertex, shutdown, startTransaction, stopTransaction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Neo4jHaGraph

public Neo4jHaGraph(String directory,
                    Map<String,String> configuration)
Creates a new Neo4jHaGraph instance.

The configuration parameter expects the standard neo4j configuration settings but also requires some standard configuration elements for HA mode. These configuration keys are: ha.machine_id, ha.server, ha.zoo_keeper_servers.

These configuration elements are described in detail here:

http://wiki.neo4j.org/content/High_Availability_Cluster


Neo4jHaGraph

public Neo4jHaGraph(org.neo4j.kernel.HighlyAvailableGraphDatabase rawGraph)


Copyright © 2010-2012. All Rights Reserved.