protected final class StressMasterBenchBase.BenchContext extends Object
Constructor and Description |
---|
BenchContext(com.google.common.util.concurrent.RateLimiter rateLimiter,
Operation operation,
String duration) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalResult() |
org.apache.hadoop.fs.Path |
getBasePath(int index) |
long |
getEndMs() |
org.apache.hadoop.fs.Path |
getFixedBasePath(int index) |
com.google.common.util.concurrent.RateLimiter |
getGrandRateLimiter() |
AtomicLong |
getOperationCounter(int index) |
com.google.common.util.concurrent.RateLimiter |
getRateLimiter(int index) |
com.google.common.util.concurrent.RateLimiter[] |
getRateLimiters() |
T |
getResult() |
long |
getStartMs() |
void |
mergeThreadResult(T threadResult) |
public com.google.common.util.concurrent.RateLimiter[] getRateLimiters()
public com.google.common.util.concurrent.RateLimiter getGrandRateLimiter()
public com.google.common.util.concurrent.RateLimiter getRateLimiter(int index)
public long getStartMs()
public long getEndMs()
public AtomicLong getOperationCounter(int index)
public org.apache.hadoop.fs.Path getBasePath(int index)
public org.apache.hadoop.fs.Path getFixedBasePath(int index)
public void mergeThreadResult(T threadResult)
public void addAdditionalResult() throws IOException
IOException
public T getResult()
Copyright © 2023. All Rights Reserved.