Package org.apache.accumulo.trace.instrument

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


      span.data("path", p.toString());
    }
    try {
      impl.setPermission(p, permission);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void setOwner(Path p, String username, String groupname) throws IOException {
View Full Code Here


    }
   
    try {
      impl.setOwner(p, username, groupname);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void setTimes(Path p, long mtime, long atime) throws IOException {
View Full Code Here

  public void setTimes(Path p, long mtime, long atime) throws IOException {
    Span span = Trace.start("setTimes");
    try {
      impl.setTimes(p, mtime, atime);
    } finally {
      span.stop();
    }
  }
 
  final FileSystem impl;
 
View Full Code Here

  public URI getUri() {
    Span span = Trace.start("getUri");
    try {
      return impl.getUri();
    } finally {
      span.stop();
    }
  }
 
  @Override
  public FSDataInputStream open(Path f, int bufferSize) throws IOException {
View Full Code Here

  public FSDataInputStream open(Path f, int bufferSize) throws IOException {
    Span span = Trace.start("open");
    try {
      return new TraceFSDataInputStream(impl.open(f, bufferSize));
    } finally {
      span.stop();
    }
  }
 
  @Override
  public FSDataOutputStream create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
View Full Code Here

      throws IOException {
    Span span = Trace.start("create");
    try {
      return impl.create(f, overwrite, bufferSize, replication, blockSize, progress);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public void initialize(URI name, Configuration conf) throws IOException {
View Full Code Here

  public void initialize(URI name, Configuration conf) throws IOException {
    Span span = Trace.start("initialize");
    try {
      impl.initialize(name, conf);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public FSDataOutputStream append(Path f, int bufferSize, Progressable progress) throws IOException {
View Full Code Here

  public FSDataOutputStream append(Path f, int bufferSize, Progressable progress) throws IOException {
    Span span = Trace.start("append");
    try {
      return impl.append(f, bufferSize, progress);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public boolean rename(Path src, Path dst) throws IOException {
View Full Code Here

  public boolean rename(Path src, Path dst) throws IOException {
    Span span = Trace.start("rename");
    try {
      return impl.rename(src, dst);
    } finally {
      span.stop();
    }
  }
 
  @SuppressWarnings("deprecation")
  @Override
View Full Code Here

  public boolean delete(Path f) throws IOException {
    Span span = Trace.start("delete");
    try {
      return impl.delete(f);
    } finally {
      span.stop();
    }
  }
 
  @Override
  public boolean delete(Path f, boolean recursive) 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.