Exemple #1
0
 public void performBackgroundOperation(OperationAndData <String> operationAndData)
 {
     try
     {
         TimeTrace trace    = client.getZookeeperClient().startTracer("ExistsBuilderImpl-Background");
         var       callback = new AsyncCallback.StatCallback()
         {
             @Override
 public void performBackgroundOperation(OperationAndData <String> operationAndData)
 {
     try
     {
         TimeTrace trace = client.getZookeeperClient().startTracer("SetACLBuilderImpl-Background");
         String    path  = operationAndData.getData();
         client.getZooKeeper().setACL
         (
             path,
             acling.getAclList(path),
             version,
             new AsyncCallback.StatCallback()
         {