public static class DriveMetrics.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
readBytes |
protected long |
readRequests |
protected long |
writeBytes |
protected long |
writeRequests |
Constructor and Description |
---|
DriveMetrics.Builder() |
Modifier and Type | Method and Description |
---|---|
DriveMetrics |
build() |
DriveMetrics.Builder |
readBytes(long readBytes) |
DriveMetrics.Builder |
readRequests(long readRequests) |
DriveMetrics.Builder |
writeBytes(long writeBytes) |
DriveMetrics.Builder |
writeRequests(long writeRequests) |
protected long readBytes
protected long readRequests
protected long writeBytes
protected long writeRequests
public DriveMetrics.Builder readBytes(long readBytes)
public DriveMetrics.Builder readRequests(long readRequests)
public DriveMetrics.Builder writeBytes(long writeBytes)
public DriveMetrics.Builder writeRequests(long writeRequests)
public DriveMetrics build()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.