Package org.apache.accumulo.trace.instrument

Examples of org.apache.accumulo.trace.instrument.Span.stop()


      span.data("dst", dst.toString());
    }
    try {
      impl.moveFromLocalFile(srcs, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void moveFromLocalFile(Path src, Path dst) throws IOException {
View Full Code Here


    public boolean checkTrace(TInfo t, String message) throws TException {
      Span trace = Trace.start(message);
      try {
        return Trace.isTracing();
      } finally {
        trace.stop();
      }
    }
  }
 
  @Test
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.moveFromLocalFile(src, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void copyFromLocalFile(boolean delSrc, Path src, Path dst) throws IOException {
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.copyFromLocalFile(delSrc, src, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path[] srcs, Path dst) throws IOException {
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.copyFromLocalFile(delSrc, overwrite, srcs, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path src, Path dst) throws IOException {
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.copyFromLocalFile(delSrc, overwrite, src, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void copyToLocalFile(Path src, Path dst) throws IOException {
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.copyToLocalFile(src, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void moveToLocalFile(Path src, Path dst) throws IOException {
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.moveToLocalFile(src, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void copyToLocalFile(boolean delSrc, Path src, Path dst) throws IOException {
View Full Code Here

      span.data("dst", dst.toString());
    }
    try {
      impl.copyToLocalFile(delSrc, src, dst);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public Path startLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws IOException {
View Full Code Here

      span.data("local", tmpLocalFile.toString());
    }
    try {
      return impl.startLocalOutput(fsOutputFile, tmpLocalFile);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void completeLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws IOException {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.