public static boolean isClusteringStarting() {
        return clusteringStarting;
    }
Returns true is clustering is currently being started. Once the cluster
is started or failed to be started this value will be false.

@return true is clustering is currently being started.
xmppserver/src/main/java/org/jivesoftware/util/cache/CacheFactory.java