public static class FsInfo.DeviceStats extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
DeviceStats(int majorDeviceNumber,
int minorDeviceNumber,
java.lang.String deviceName,
long currentReadsCompleted,
long currentSectorsRead,
long currentWritesCompleted,
long currentSectorsWritten,
FsInfo.DeviceStats previousDeviceStats) |
DeviceStats(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
long |
operations() |
long |
readKilobytes() |
long |
readOperations() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
long |
writeKilobytes() |
long |
writeOperations() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic DeviceStats(int majorDeviceNumber,
int minorDeviceNumber,
java.lang.String deviceName,
long currentReadsCompleted,
long currentSectorsRead,
long currentWritesCompleted,
long currentSectorsWritten,
FsInfo.DeviceStats previousDeviceStats)
public DeviceStats(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic long operations()
public long readOperations()
public long writeOperations()
public long readKilobytes()
public long writeKilobytes()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException