Nandan ...

Graph.shutdown() effectively closes a connection (the OrientGraph object)
-- use it early and often, but only when you're done with the connection.
Graph.drop() will remove the database from memory, disk, etcetera -- only
use with caution!

In my unit tests, I create an in-memory instance of my database in the
setup() method, and use graph.shutdown() followed by graph.drop() in the
teardown() method. That is the only way that I would suggest using
graph.drop() on a regular basis.

- Craig -

On Thu, Jul 2, 2015 at 6:39 AM, <[email protected]> wrote:

> Hi,
> you can use the graph.shutdown() when you want to release the OrientGraph
> instance.
>
> Regards,
> Alessandro
>
> --
>
> ---
> 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.
>

-- 

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

Reply via email to