public void run() {
          try {
            System.out.println("Shutdown invoked");
            shutdown.set(true);
            latch.await();
            System.out.println("Total reads : " + totalReads.get() + "  Total time taken : " + totalTimeTaken.get()
                + " Nano Seconds  Average time taken per read "
                + ((double) totalReads.get() / totalTimeTaken.get()) / SystemTime.NsPerSec + " Seconds");
          } catch (Exception e) {
            System.out.println("Error while shutting down " + e);
          }
        }
Reads from a file and populates the indexes and issues
random read requests and tracks performance . This test reads 10000 ids
at a time from the index write performance log and does random reads from that list.
After 2 minutes it replaces the input with the next 10000 set.
ambry-tools/src/main/java/com/github/ambry/store/IndexReadPerformance.java