public static void updateCollectionLevelSnapshot(SolrZkClient zkClient,String collectionName,CollectionSnapshotMetaData meta) throws KeeperException, InterruptedException {
  String zkPath=getSnapshotMetaDataZkPath(collectionName,Optional.of(meta.getName()));
  zkClient.setData(zkPath,Utils.toJSON(meta),-1,true);
}

public static void updateCollectionLevelSnapshot ( SolrZkClient zkClient , String collectionName , CollectionSnapshotMetaData meta ) throws KeeperException , InterruptedException { String zkPath = getSnapshotMetaDataZkPath ( collectionName , Optional . of ( meta . getName ( ) ) ) ; zkClient . setData ( zkPath , Utils . toJSON ( meta ) , - 1 , true ) ; }
this method updates an entry for the named snapshot for the specified collection in zookeeper .
