A simple cache for use by master elected services which know they are the only code reading or writing from a particular area of ZK; so that we can cache the fact that we've read or written to ZK to minimise the amount of ZK reads/writes we make. e.g. when detecting services in Jolokia we can calculate the JSON to register into ZK and just perform a {@link #setStringData(String,String,org.apache.zookeeper.CreateMode)} method call; safe in the knowledge that if the JSON hasn't changed we won't be doing a ZK write; to avoid too much ZK noise.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.