Top Description Fields Constructors Methods
org.apache.derby.iapi.services.cache

pack-priv abstract Class ClassSizeCatalog

extends Hashtable<String, int[]>
Class Inheritance
Known Direct Subclasses
org.apache.derby.iapi.services.cache.ClassSizeCatalogImpl
Imports
java.util.Hashtable

Map from class names to size coefficients. The size coefficients can be used to estimate how much memory an instance of the class takes.
See Also
ClassSize#getSizeCoefficients(Class)

Field Summary

Modifier and TypeField and Description
private static final ClassSizeCatalog
INSTANCE

The singleton instance of this class.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static ClassSizeCatalog
getInstance()

Get the singleton ClassSizeCatalog instance.

Inherited from java.util.Hashtable:
clearclonecomputecomputeIfAbsentcomputeIfPresentcontainscontainsKeycontainsValueelementsentrySetequalsforEachgetgetOrDefaulthashCodeisEmptykeyskeySetmergeputputAllputIfAbsentrehashremoveremovereplacereplacereplaceAllsizetoStringvalues

Field Detail

INSTANCEback to summary
private static final ClassSizeCatalog INSTANCE

The singleton instance of this class.

Constructor Detail

ClassSizeCatalogback to summary
pack-priv ClassSizeCatalog()

Method Detail

getInstanceback to summary
pack-priv static ClassSizeCatalog getInstance()

Get the singleton ClassSizeCatalog instance.