com.sleepycat.je.cleaner
Class UtilizationCalculator.AverageSize

java.lang.Object
  extended by com.sleepycat.je.cleaner.UtilizationCalculator.AverageSize
Enclosing class:
UtilizationCalculator

static class UtilizationCalculator.AverageSize
extends Object

Bundles a count of LNs and their total size, for use in calculating a running average.


Field Summary
(package private)  int count
           
(package private)  int estCount
           
(package private)  int estSize
           
(package private)  int size
           
 
Constructor Summary
UtilizationCalculator.AverageSize(int size, int count, int estSize, int estCount)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

size

final int size

count

final int count

estSize

final int estSize

estCount

final int estCount
Constructor Detail

UtilizationCalculator.AverageSize

UtilizationCalculator.AverageSize(int size,
                                  int count,
                                  int estSize,
                                  int estCount)
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2012 Oracle. All rights reserved.