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

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

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