public static class FsInfo.Path extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
Path() |
Path(StreamInput in)
Read from a stream.
|
Path(java.lang.String path,
java.lang.String mount,
long total,
long free,
long available) |
Modifier and Type | Method and Description |
---|---|
void |
add(FsInfo.Path path) |
ByteSizeValue |
getAvailable() |
ByteSizeValue |
getFree() |
java.lang.String |
getMount() |
java.lang.String |
getPath() |
java.lang.Boolean |
getSpins() |
ByteSizeValue |
getTotal() |
java.lang.String |
getType() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public Path()
public Path(java.lang.String path, @Nullable java.lang.String mount, long total, long free, long available)
public Path(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public java.lang.String getPath()
public java.lang.String getMount()
public java.lang.String getType()
public ByteSizeValue getTotal()
public ByteSizeValue getFree()
public ByteSizeValue getAvailable()
public java.lang.Boolean getSpins()
public void add(FsInfo.Path path)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException