1717
1818package io .minio .admin .messages .info ;
1919
20+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2021import com .fasterxml .jackson .annotation .JsonProperty ;
2122import java .util .Collections ;
2223import java .util .Map ;
2728 * @see <a href=
2829 * "https://github.com/minio/madmin-go/blob/main/info-commands.go#L395">info-commands.go</a>
2930 */
31+ @ JsonIgnoreProperties (ignoreUnknown = true )
3032public class DiskMetrics {
3133 @ JsonProperty ("lastMinute" )
3234 private Map <String , TimedAction > lastMinute ;
@@ -40,6 +42,18 @@ public class DiskMetrics {
4042 @ JsonProperty ("totalErrorsTimeout" )
4143 private Integer totalErrorsTimeout ;
4244
45+ @ JsonProperty ("totalTokens" )
46+ private Long totalTokens ;
47+
48+ @ JsonProperty ("totalWaiting" )
49+ private Long totalWaiting ;
50+
51+ @ JsonProperty ("totalWrites" )
52+ private Long totalWrites ;
53+
54+ @ JsonProperty ("totalDeletes" )
55+ private Long totalDeletes ;
56+
4357 public Integer totalErrorsAvailability () {
4458 return totalErrorsAvailability ;
4559 }
@@ -55,4 +69,20 @@ public Map<String, TimedAction> lastMinute() {
5569 public Map <String , String > apiCalls () {
5670 return Collections .unmodifiableMap (apiCalls );
5771 }
72+
73+ public Long totalTokens () {
74+ return totalTokens ;
75+ }
76+
77+ public Long totalWaiting () {
78+ return totalWaiting ;
79+ }
80+
81+ public Long totalWrites () {
82+ return totalWrites ;
83+ }
84+
85+ public Long totalDeletes () {
86+ return totalDeletes ;
87+ }
5888}
0 commit comments