If you're using enterprise edition, you can flush the object caches via JMX by calling clear() on the mbean, http://docs.neo4j.org/chunked/stable/jmx-mxbeans.html#jmx-cache-nodecache. The manual also has an example how to access JMX programatically: http://docs.neo4j.org/chunked/stable/tutorials-java-embedded-jmx.html
2014/1/17 Javad Karabi <[email protected]>: > is there a java one-liner to flush all the caches? > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" 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/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Neo4j" 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/groups/opt_out.
