@Override
            public void xmlPropertySet(final String property, final Map<String, Object> params) {
                if (ClusterManager.CLUSTER_PROPERTY_NAME.equals(property)) {
                    TaskEngine.getInstance().submit(() -> {
                        if (Boolean.parseBoolean((String) params.get("value"))) {
                            // Reload/sync all Jive properties
                            JiveProperties.getInstance().init();
                            ClusterManager.startup();
                        } else {
                            ClusterManager.shutdown();
                        }
                    });
                }
            }
A cluster manager is responsible for triggering events related to clustering.
A future version will also provide statistics about the cluster.

@author Gaston Dombiak
xmppserver/src/main/java/org/jivesoftware/openfire/cluster/ClusterManager.java