Hi, You should do shutdown, otherwise your pool may be eventually exhausted.
It is not the case now if you use thread pool but better to not relay on implementation details. On Mon, Oct 20, 2014 at 5:58 PM, Keith Freeman <[email protected]> wrote: > Using a factory like this: > OrientGraphFactory gfactory= new OrientGraphFactory( > "remote:localhost/testdb","root","root".setup(1,20); > > ...I reuse instances from the pool many times using gfactory.getTx(). > Should I always call graph.shutdown() when finished with an instance from > the pool? If not, what are the costs/benefits of doing so? > > -- > > --- > 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. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- 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.
