protected void init(JsonValue config){
  ClusterConfig clstrCfg=new ClusterConfig(config);
  instanceId=clstrCfg.getInstanceId();
  if (null == instanceId || instanceId.isEmpty() || PropertyUtil.containsProperty(instanceId,NODE_ID)) {
    throw new IllegalStateException("No property of '" + NODE_ID + "' could be found in configuration.");
  }
  clusterConfig=clstrCfg;
  if (clusterConfig.isEnabled()) {
    enabled=true;
    clusterManagerThread=new ClusterManagerThread(clusterConfig.getInstanceCheckInInterval(),clusterConfig.getInstanceCheckInOffset());
  }
}

protected void init ( JsonValue config ) { ClusterConfig clstrCfg = new ClusterConfig ( config ) ; instanceId = clstrCfg . getInstanceId ( ) ; if ( null == instanceId || instanceId . isEmpty ( ) || PropertyUtil . containsProperty ( instanceId , NODE_ID ) ) { throw new IllegalStateException ( "No property of '" + NODE_ID + "' could be found in configuration." ) ; } clusterConfig = clstrCfg ; if ( clusterConfig . isEnabled ( ) ) { enabled = true ; clusterManagerThread = new ClusterManagerThread ( clusterConfig . getInstanceCheckInInterval ( ) , clusterConfig . getInstanceCheckInOffset ( ) ) ; } }
initializes the cluster manager configuration
