Exemplo n.º 1
0
        public void performBackgroundOperation(OperationAndData <String> operationAndData)
        {
            TimeTrace trace = client.getZookeeperClient().startTracer("BackgroundSyncImpl");

            client.getZooKeeper().sync
            (
                operationAndData.getData(),
                new AsyncCallback.VoidCallback()
            {
                @Override
Exemplo n.º 2
0
        public void performBackgroundOperation(OperationAndData <String> operationAndData)
        {
            try
            {
                TimeTrace trace        = client.getZookeeperClient().startTracer("SyncBuilderImpl-Background");
                String    path         = operationAndData.getData();
                String    adjustedPath = client.fixForNamespace(path);

                AsyncCallback.VoidCallback voidCallback = new AsyncCallback.VoidCallback()
                {
Exemplo n.º 3
0
 public void performBackgroundOperation(OperationAndData <String> operationAndData)
 {
     try
     {
         TimeTrace trace = client.getZookeeperClient().startTracer("DeleteBuilderImpl-Background");
         client.getZooKeeper().delete
         (
             operationAndData.getData(),
             version,
             new AsyncCallback.VoidCallback()
         {
             @Override