diff --git a/adminapi/src/main/java/io/minio/admin/messages/info/DiskMetrics.java b/adminapi/src/main/java/io/minio/admin/messages/info/DiskMetrics.java index bdcd2de75..b82658d8c 100644 --- a/adminapi/src/main/java/io/minio/admin/messages/info/DiskMetrics.java +++ b/adminapi/src/main/java/io/minio/admin/messages/info/DiskMetrics.java @@ -34,6 +34,20 @@ public class DiskMetrics { @JsonProperty("apiCalls") private Map apiCalls; + @JsonProperty("totalErrorsAvailability") + private Integer totalErrorsAvailability; + + @JsonProperty("totalErrorsTimeout") + private Integer totalErrorsTimeout; + + public Integer totalErrorsAvailability() { + return totalErrorsAvailability; + } + + public Integer totalErrorsTimeout() { + return totalErrorsTimeout; + } + public Map lastMinute() { return Collections.unmodifiableMap(lastMinute); } diff --git a/adminapi/src/main/java/io/minio/admin/messages/info/GCStats.java b/adminapi/src/main/java/io/minio/admin/messages/info/GCStats.java index d2d9d9cd8..9a8b52d13 100644 --- a/adminapi/src/main/java/io/minio/admin/messages/info/GCStats.java +++ b/adminapi/src/main/java/io/minio/admin/messages/info/GCStats.java @@ -37,7 +37,7 @@ public class GCStats { private Integer numGC; @JsonProperty("pause_total") - private Integer pauseTotal; + private Long pauseTotal; @JsonProperty("pause") private List pause; @@ -53,7 +53,7 @@ public Integer numGC() { return numGC; } - public Integer pauseTotal() { + public Long pauseTotal() { return pauseTotal; } diff --git a/adminapi/src/main/java/io/minio/admin/messages/info/Usage.java b/adminapi/src/main/java/io/minio/admin/messages/info/Usage.java index fa24ede7b..9c43d85e8 100644 --- a/adminapi/src/main/java/io/minio/admin/messages/info/Usage.java +++ b/adminapi/src/main/java/io/minio/admin/messages/info/Usage.java @@ -29,12 +29,12 @@ @JsonIgnoreProperties(ignoreUnknown = true) public class Usage { @JsonProperty("size") - private Integer size; + private Long size; @JsonProperty("error") private String error; - public Integer size() { + public Long size() { return size; }