Re: How to open the same graph multiple times and not get the same object?

HadoopMarc <bi...@...>

Hi Mladen,

The constructor of StandardJanusGraph seems worth a try:

HTH,   Marc

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, 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,


Join { to automatically receive all group messages.