Incorrect check ObjectInput.available() in CacheMetricsSnapshot
@@ -1162,7 +1162,7 @@ public class CacheMetricsSnapshot implements CacheMetrics, Externalizable {
}
// 11 long and 5 float values give 108 bytes in total.
- if (in.available() >= 108) {
+ if (in.available() >= 68) {
entryProcessorPuts = in.readLong();
entryProcessorAverageInvocationTime = in.readFloat();
entryProcessorInvocations = in.readLong();
