Package org.apache.hadoop.hdfs.storageservice.NNLatencyBenchmark

Examples of org.apache.hadoop.hdfs.storageservice.NNLatencyBenchmark.TimedCallable


  }

  @Test
  public void testTimedCallable() throws Exception {
    long start = System.nanoTime();
    double time = new TimedCallable() {
      @Override
      protected void callTimed() throws Exception {
        Thread.sleep(337);
      }
    }.call();
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.storageservice.NNLatencyBenchmark.TimedCallable

Copyright © 2018 www.massapicom. 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.