toggle quoted messageShow quoted text
Agree with Marc, that's something you could try. If possible, could you share the reason why you have to open the same graph multiple times with different graph objects? If there is no other solution to your problem then this can be a feature request.
On Wednesday, December 9, 2020 at 2:50:48 PM UTC+8 HadoopMarc wrote:
The constructor of StandardJanusGraph seems worth a try:
Op dinsdag 8 december 2020 om 19:34:55 UTC+1 schreef Mladen Marović:
I'm writing a Java program that, for various implementation details, needs to open the same graph multiple times. Currently I'm using JanusGraphFactory.open(...), but this always looks up the graph by its name in the static JanusGraphManager instance and returns the same object.
is there a way to create two different object instances of the same Janusgraph graph? These instances need to be completely separate, so that closing one graph does not close transactions created using the other graph. I checked the documentation and inspected the code directly while debugging, but couldn't find anything useful.
Thanks in advance,