If you are using an embedded server, you can register a lifecyclelistener 
on the OServer.
http://orientdb.com/javadoc/latest/com/orientechnologies/orient/server/OServer.html#lifecycleListeners

But I think you are probably using the client to connect to a remote in 
which I case I'm not aware of any lifecycle methods.

On Friday, July 29, 2016 at 5:47:24 AM UTC-4, Torsten Franz wrote:
>
> Hi,
> using JAVA client API, how can I get informed by an event if the database 
> server is shut down?
> I know I get some communication channel exception in a random thread but 
> did not find any event to which I could attach to which will be triggered 
> by this exception.
>
> running v2.2.3...
>
> Thanks
> Torsten
>

-- 

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