Skip to content

Commit

Permalink
Added getters for fs.path, fs.mount and fs.dev in node stats api
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Oct 29, 2013
1 parent 7a77275 commit a5cfb26
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/org/elasticsearch/monitor/fs/FsStats.java
Expand Up @@ -86,6 +86,18 @@ public void writeTo(StreamOutput out) throws IOException {
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);
}
Expand Down

0 comments on commit a5cfb26

Please sign in to comment.