Class ClassSizeCatalog
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.String,int[]>
-
- org.apache.derby.iapi.services.cache.ClassSizeCatalog
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,int[]>
abstract class ClassSizeCatalog extends java.util.Hashtable<java.lang.String,int[]>
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
Fields Modifier and Type Field Description private static ClassSizeCatalog
INSTANCE
The singleton instance of this class.
-
Constructor Summary
Constructors Constructor Description ClassSizeCatalog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static ClassSizeCatalog
getInstance()
Get the singletonClassSizeCatalog
instance.-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
Field Detail
-
INSTANCE
private static final ClassSizeCatalog INSTANCE
The singleton instance of this class.
-
-
Method Detail
-
getInstance
static ClassSizeCatalog getInstance()
Get the singletonClassSizeCatalog
instance.
-
-