Is there a way to determine if the neo4j database has been shutdown? -



Is there a way to determine if the neo4j database has been shutdown? -

title says all. know can phone call graphdb.shutdown() on database, , says should remove references after that, there programmatic way determine state of graph database, see if shutdown?

try graphdatabaseservice.isavailable(long timeout)

"use method check if database in usable state. if database not in usable state, can provide timeout wait become so. if database has been shutdown returns false."

i believe timeout in milliseconds.

neo4j

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -