Groovy Documentation

griffon.plugins.blueprints
[Groovy] Class GraphHolder

java.lang.Object
  griffon.plugins.blueprints.GraphHolder

class GraphHolder
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private static GraphHolder INSTANCE

private static Object[] LOCK

private Map graphs

 
Constructor Summary
private GraphHolder()

 
Method Summary
void disconnectGraph(String graphName)

com.tinkerpop.blueprints.Graph fetchGraph(String graphName)

com.tinkerpop.blueprints.Graph getGraph(String graphName = DEFAULT)

String[] getGraphNames()

static GraphHolder getInstance()

boolean isGraphConnected(String graphName)

private com.tinkerpop.blueprints.Graph retrieveGraph(String graphName)

void setGraph(String graphName = DEFAULT, com.tinkerpop.blueprints.Graph graph)

private void storeGraph(String graphName, com.tinkerpop.blueprints.Graph graph)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DEFAULT

private static final String DEFAULT


INSTANCE

private static final GraphHolder INSTANCE


LOCK

private static final Object[] LOCK


graphs

private final Map graphs


 
Constructor Detail

GraphHolder

private GraphHolder()


 
Method Detail

disconnectGraph

void disconnectGraph(String graphName)


fetchGraph

com.tinkerpop.blueprints.Graph fetchGraph(String graphName)


getGraph

com.tinkerpop.blueprints.Graph getGraph(String graphName = DEFAULT)


getGraphNames

String[] getGraphNames()


getInstance

static GraphHolder getInstance()


isGraphConnected

boolean isGraphConnected(String graphName)


retrieveGraph

private com.tinkerpop.blueprints.Graph retrieveGraph(String graphName)


setGraph

void setGraph(String graphName = DEFAULT, com.tinkerpop.blueprints.Graph graph)


storeGraph

private void storeGraph(String graphName, com.tinkerpop.blueprints.Graph graph)


 

Groovy Documentation