Skip to content

Commit

Permalink
Fix issue where cache side details could be negative (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddlet2666 authored Sep 29, 2022
1 parent 7a5ccd4 commit fba5e95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public SortedMap<Object, Data> getAggregatedDataFromHttpQueryingInternal(
data.setColumn(CacheDetailData.SIZE,
Integer.valueOf(nodeCacheMember.get("size").asText()));
data.setColumn(CacheDetailData.MEMORY_BYTES,
nodeCacheMember.get("units").intValue() * nodeCacheMember.get("unitFactor").intValue());
nodeCacheMember.get("units").longValue() * nodeCacheMember.get("unitFactor").longValue());
data.setColumn(CacheDetailData.TOTAL_GETS,
Long.valueOf(nodeCacheMember.get("totalGets").asText()));
data.setColumn(CacheDetailData.TOTAL_PUTS,
Expand Down

0 comments on commit fba5e95

Please sign in to comment.