Added getters for fs.path, fs.mount and fs.dev in node stats api
Closes #4004
This commit is contained in:
parent
2ec9742147
commit
9cb54c0f2e
|
@ -86,6 +86,18 @@ public class FsStats implements Iterable<FsStats.Info>, Streamable, ToXContent {
|
|||
out.writeDouble(diskServiceTime);
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public String getMount() {
|
||||
return mount;
|
||||
}
|
||||
|
||||
public String getDev() {
|
||||
return dev;
|
||||
}
|
||||
|
||||
public ByteSizeValue getTotal() {
|
||||
return new ByteSizeValue(total);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue