Class StressMasterBenchBase.BenchContext

  • Enclosing class:
    StressMasterBenchBase<T extends alluxio.stress.master.MasterBenchTaskResultBase<P>,​P extends alluxio.stress.master.MasterBenchBaseParameters>

    protected final class StressMasterBenchBase.BenchContext
    extends java.lang.Object
    • Constructor Detail

      • BenchContext

        public BenchContext​(com.google.common.util.concurrent.RateLimiter rateLimiter,
                            alluxio.stress.master.Operation operation,
                            java.lang.String duration)
    • Method Detail

      • getRateLimiters

        public com.google.common.util.concurrent.RateLimiter[] getRateLimiters()
      • getGrandRateLimiter

        public com.google.common.util.concurrent.RateLimiter getGrandRateLimiter()
      • getRateLimiter

        public com.google.common.util.concurrent.RateLimiter getRateLimiter​(int index)
      • getStartMs

        public long getStartMs()
      • getEndMs

        public long getEndMs()
      • getOperationCounter

        public java.util.concurrent.atomic.AtomicLong getOperationCounter​(int index)
      • getBasePath

        public org.apache.hadoop.fs.Path getBasePath​(int index)
      • getFixedBasePath

        public org.apache.hadoop.fs.Path getFixedBasePath​(int index)
      • mergeThreadResult

        public void mergeThreadResult​(T threadResult)
      • addAdditionalResult

        public void addAdditionalResult()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getResult

        public T getResult()