if (this.maxCapacity < maxCapacity) { this.maxCapacity = maxCapacity; if (maxCapacityEver < maxCapacity) { maxCapacityEver = maxCapacity;
sumCapacityCount += capacityCount; if (this.maxCapacityCount < maxCapacityCount) { this.maxCapacityCount = maxCapacityCount; if (maxEverCapacityCount < maxCapacityCount) { maxEverCapacityCount = maxCapacityCount; } } sumCapacityBytes += capacityBytes; if (this.maxCapacityBytes < maxCapacityBytes) { this.maxCapacityBytes = maxCapacityBytes; if (maxEverCapacityBytes < maxCapacityBytes) { maxEverCapacityBytes = maxCapacityBytes;
    void update(        long size,        long maxSize,        long capacity,        long maxCapacity) {      totalSize += size;      totalCapacity += capacity;      if (this.maxSize < maxSize) {        this.maxSize = maxSize;        if (maxSizeEver < maxSize) {          maxSizeEver = maxSize;        }      }      if (this.maxCapacity < maxCapacity) {        this.maxCapacity = maxCapacity;        if (maxCapacityEver < maxCapacity) {          maxCapacityEver = maxCapacity;        }      }    }