mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 08:25:26 +00:00
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…
x
Reference in New Issue
Block a user