Added getters for fs.path, fs.mount and fs.dev in node stats api

Closes #4004
This commit is contained in:
Luca Cavanna 2013-10-29 14:49:07 +01:00
parent 2ec9742147
commit 9cb54c0f2e
1 changed files with 12 additions and 0 deletions

View File

@ -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);
}