Hi all,
I would like to know what the purpose of this method is. My initial
assumption was that this method allows for vertices/edges to be kept in
cache.
So if this property is true, then I can pull the same vertex from the graph
twice, and it will have the same reference.
For example, I assumed the following code would print out true.
OrientGraph graph = factory.getTx();
graph.setKeepInMemoryReferences(true);
Vertex a = graph.addVertex(null);
Vertex b = graph.getVertex(a.getId());
System.out.println(a == b);
Unfortunately this is not the case. For what is this method then used? The
javadoc unfortunately does not give much information.
Is there any way in which to cache vertices and edges from a graph so that
my code above would print out true?
Any help would be appreciated.
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.