Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

abort - Variable in class org.ehcache.sizeof.Configuration
 
abort - Variable in class org.ehcache.sizeof.Configuration.Builder
 
abort(boolean) - Method in class org.ehcache.sizeof.Configuration.Builder
 
addClass(Class<?>, boolean) - Method in class org.ehcache.sizeof.filters.TypeFilter
 
addField(Field) - Method in class org.ehcache.sizeof.filters.TypeFilter
 
addFilter(SizeOfFilter) - Method in class org.ehcache.sizeof.Configuration.Builder
 
addFilters(SizeOfFilter...) - Method in class org.ehcache.sizeof.Configuration.Builder
 
AGENT_LOADED - Static variable in class org.ehcache.sizeof.impl.AgentSizeOf
 
agentIsAvailable() - Static method in class org.ehcache.sizeof.impl.AgentLoader
Checks whether the agent is available
AgentLoader - Class in org.ehcache.sizeof.impl
This will try to load the agent using the Attach API of JDK6.
AgentLoader() - Constructor for class org.ehcache.sizeof.impl.AgentLoader
 
agentmain(String, Instrumentation) - Static method in class org.ehcache.sizeof.impl.SizeOfAgent
 
agentSizeOf(Object) - Static method in class org.ehcache.sizeof.impl.AgentLoader
Returns the size of this Java object as calculated by the loaded agent.
AgentSizeOf - Class in org.ehcache.sizeof.impl
SizeOf implementation that relies on a Java agent to be loaded to do the measurement It will try to load the agent through the JDK6 Attach API if available All it's constructor do throw UnsupportedOperationException if the agent isn't present or couldn't be loaded dynamically Inspired by Dr.
AgentSizeOf() - Constructor for class org.ehcache.sizeof.impl.AgentSizeOf
Builds a new SizeOf that will not filter fields and will cache reflected fields
AgentSizeOf(SizeOfFilter) - Constructor for class org.ehcache.sizeof.impl.AgentSizeOf
Builds a new SizeOf that will filter fields according to the provided filter and will cache reflected fields
AgentSizeOf(SizeOfFilter, boolean, boolean) - Constructor for class org.ehcache.sizeof.impl.AgentSizeOf
Builds a new SizeOf that will filter fields according to the provided filter
AnnotationInvocationHandler(Annotation) - Constructor for class org.ehcache.sizeof.annotations.AnnotationProxyFactory.AnnotationInvocationHandler
 
AnnotationProxyFactory - Class in org.ehcache.sizeof.annotations
Allows you to transform the type of your custom annotation to a reference annotation type.
AnnotationProxyFactory() - Constructor for class org.ehcache.sizeof.annotations.AnnotationProxyFactory
 
AnnotationProxyFactory.AnnotationInvocationHandler - Class in org.ehcache.sizeof.annotations
Invocation handler implementing an invoke method that redirects every method call to the custom annotation method when possible; if not returns the reference annotation method default value
AnnotationSizeOfFilter - Class in org.ehcache.sizeof.filters
 
AnnotationSizeOfFilter() - Constructor for class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
applyMutators() - Method in class org.ehcache.sizeof.SizeOfFilterSource
 
applyMutators(ClassLoader) - Method in class org.ehcache.sizeof.SizeOfFilterSource
 

B

BIGDECIMAL - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.math.BigDecimal
BIGINTEGER - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.math.BigInteger
BOOLEAN - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Boolean
BOOLEAN - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
boolean.class
build() - Method in class org.ehcache.sizeof.Configuration.Builder
 
Builder() - Constructor for class org.ehcache.sizeof.Configuration.Builder
 
Builder(Configuration) - Constructor for class org.ehcache.sizeof.Configuration.Builder
 
BYPASS_LOADING - Static variable in class org.ehcache.sizeof.impl.AgentSizeOf
System property name to bypass attaching to the VM and loading of Java agent to measure Object sizes.
bypassFlyweight - Variable in class org.ehcache.sizeof.ObjectGraphWalker
 
byPassIfFlyweight(Object) - Method in class org.ehcache.sizeof.ObjectGraphWalker
 
BYTE - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Byte
BYTE - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
byte.class

C

cache - Variable in class org.ehcache.sizeof.SizeOf.CachingSizeOfVisitor
 
CachingSizeOfVisitor() - Constructor for class org.ehcache.sizeof.SizeOf.CachingSizeOfVisitor
 
CHAR - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
char.class
CHARACTER - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Character
CLASS - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Class
classCache - Variable in class org.ehcache.sizeof.ObjectGraphWalker
 
classesIgnored - Variable in class org.ehcache.sizeof.filters.TypeFilter
 
clazz - Variable in enum org.ehcache.sizeof.FlyweightType
 
cleanUp() - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
cleanUp(T) - Method in interface org.ehcache.sizeof.util.WeakIdentityConcurrentMap.CleanUpTask
 
cleanUpTask - Variable in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
clearlFilters() - Method in class org.ehcache.sizeof.Configuration.Builder
 
CODINGERRORACTION - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.nio.charset.CodingErrorAction
CombinationSizeOfFilter - Class in org.ehcache.sizeof.filters
Filter combining multiple filters
CombinationSizeOfFilter(SizeOfFilter...) - Constructor for class org.ehcache.sizeof.filters.CombinationSizeOfFilter
Constructs a filter combining multiple ones
Configuration - Class in org.ehcache.sizeof
 
Configuration(int, boolean, boolean, SizeOfFilter...) - Constructor for class org.ehcache.sizeof.Configuration
 
Configuration.Builder - Class in org.ehcache.sizeof
 
configure(Filter) - Method in interface org.ehcache.sizeof.FilterConfigurator
Invoked by the framework to let this instance configure the filter
containsKey(K) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
CURRENT_JVM_INFORMATION - Static variable in enum org.ehcache.sizeof.impl.JvmInformation
The JvmInformation instance representing the current JVM
customAnnotation - Variable in class org.ehcache.sizeof.annotations.AnnotationProxyFactory.AnnotationInvocationHandler
 

D

DATATYPECONSTANTS_FIELD - Enum constant in enum org.ehcache.sizeof.FlyweightType
javax.xml.datatype.DatatypeConstants.Field
deepSizeOf(Object...) - Method in class org.ehcache.sizeof.SizeOf
 
deepSizeOf(VisitorListener, Object...) - Method in class org.ehcache.sizeof.SizeOf
Measures the size in memory (heap) of the objects passed in, walking their graph down Any overlap of the graphs being passed in will be recognized and only measured once
detectHotSpot() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
detectIBM() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
detectOpenJDK() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
DOUBLE - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
double.class

E

ENUM - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Enum
equals(Object) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference

F

fieldCache - Variable in class org.ehcache.sizeof.ObjectGraphWalker
 
fieldsIgnored - Variable in class org.ehcache.sizeof.filters.TypeFilter
 
FIFTY_SEVEN_GB - Static variable in enum org.ehcache.sizeof.impl.JvmInformation
 
Filter - Interface in org.ehcache.sizeof
Filters all the sizing operation performed by a SizeOfEngine instance
filterClass(Class<?>) - Method in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
Checks whether the type needs to be filtered
filterClass(Class<?>) - Method in class org.ehcache.sizeof.filters.CombinationSizeOfFilter
Checks whether the type needs to be filtered
filterClass(Class<?>) - Method in interface org.ehcache.sizeof.filters.SizeOfFilter
Checks whether the type needs to be filtered
filterClass(Class<?>) - Method in class org.ehcache.sizeof.filters.TypeFilter
 
filterClass(Class<?>) - Method in class org.ehcache.sizeof.impl.PassThroughFilter
Checks whether the type needs to be filtered
FilterConfigurator - Interface in org.ehcache.sizeof
A configurator, instantiated by the ServiceLoader, that will get to configure the Filter
filterFields(Class<?>, Collection<Field>) - Method in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
Returns the fields to walk and measure for a type
filterFields(Class<?>, Collection<Field>) - Method in class org.ehcache.sizeof.filters.CombinationSizeOfFilter
Returns the fields to walk and measure for a type
filterFields(Class<?>, Collection<Field>) - Method in interface org.ehcache.sizeof.filters.SizeOfFilter
Returns the fields to walk and measure for a type
filterFields(Class<?>, Collection<Field>) - Method in class org.ehcache.sizeof.filters.TypeFilter
 
filterFields(Class<?>, Collection<Field>) - Method in class org.ehcache.sizeof.impl.PassThroughFilter
Returns the fields to walk and measure for a type
filters - Variable in class org.ehcache.sizeof.Configuration.Builder
 
filters - Variable in class org.ehcache.sizeof.Configuration
 
filters - Variable in class org.ehcache.sizeof.filters.CombinationSizeOfFilter
 
filters - Variable in class org.ehcache.sizeof.SizeOfFilterSource
 
FLOAT - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
float.class
FlyweightType - Enum in org.ehcache.sizeof
Enum with all the flyweight types that we check for sizeOf measurements
FlyweightType(Class<?>) - Constructor for enum org.ehcache.sizeof.FlyweightType
 
forType(Class<?>) - Static method in enum org.ehcache.sizeof.impl.PrimitiveType
Finds the matching PrimitiveType for a type

G

get(K) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
getAgentFile() - Static method in class org.ehcache.sizeof.impl.AgentLoader
 
getAgentSizeOfAdjustment() - Method in enum org.ehcache.sizeof.impl.JvmInformation
The size of the jvm-specific agent result adjustment in bytes.
getAllFields(Class<?>) - Static method in class org.ehcache.sizeof.ObjectGraphWalker
Returns all non-primitive fields for the entire class hierarchy of a type
getAnnotationOn(AnnotatedElement, Class<T>, Pattern) - Method in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
getAnnotationProxy(Annotation, Class<T>) - Static method in class org.ehcache.sizeof.annotations.AnnotationProxyFactory
Returns a proxy on the customAnnotation, having the same type than the referenceAnnotation
getArraySize() - Static method in enum org.ehcache.sizeof.impl.PrimitiveType
The size on an array
getFieldOffsetAdjustment() - Method in enum org.ehcache.sizeof.impl.JvmInformation
The size of the jvm-specific field offset adjustment in bytes.
getFilteredFields(Class<?>) - Method in class org.ehcache.sizeof.ObjectGraphWalker
Returns the filtered fields for a particular type
getFilters() - Method in class org.ehcache.sizeof.Configuration
 
getFilters() - Method in class org.ehcache.sizeof.SizeOfFilterSource
 
getFlyweightType(Class<?>) - Static method in enum org.ehcache.sizeof.FlyweightType
Will return the Flyweight enum instance for the flyweight Class, or null if type isn't flyweight
getHotSpotVmOptionValue(String) - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
getInstrumentation() - Static method in class org.ehcache.sizeof.impl.SizeOfAgent
 
getJavaPointerSize() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Size of a java pointer in bytes on this runtime (that differs when compressedOops are being used)
getJRockitVmArgs() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
getJvmDescription() - Method in enum org.ehcache.sizeof.impl.JvmInformation
A human-readable description of the JVM and its relevant enabled options.Os
getJvmInformation() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Determine the JvmInformation for the current JVM.
getMatchingMethodOnGivenAnnotation(Method) - Method in class org.ehcache.sizeof.annotations.AnnotationProxyFactory.AnnotationInvocationHandler
 
getMaxDepth() - Method in class org.ehcache.sizeof.Configuration
 
getMinimumObjectSize() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Minimal size an object will occupy on the heap in bytes.
getObjectAlignment() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Object alignment / padding in bytes
getObjectHeaderSize() - Method in enum org.ehcache.sizeof.impl.JvmInformation
The size of an object header in bytes.
getPlatformMBeanAttribute(String, String) - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
getPointerSize() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Size of a pointer in bytes on this runtime
getPossibleToolsJars() - Static method in class org.ehcache.sizeof.impl.AgentLoader
 
getReferenceSize() - Static method in enum org.ehcache.sizeof.impl.PrimitiveType
The size of a pointer
getSize() - Method in enum org.ehcache.sizeof.impl.PrimitiveType
Returns the size in memory this type occupies
getType() - Method in enum org.ehcache.sizeof.impl.PrimitiveType
The representing type
getVerboseSizeOfDebugLogging() - Static method in class org.ehcache.sizeof.ObjectGraphWalker
 
getVirtualMachineClass() - Static method in class org.ehcache.sizeof.impl.AgentLoader
 
GLOBAL_LOCALES - Static variable in enum org.ehcache.sizeof.FlyweightType
 
guessArraySize(Object) - Method in class org.ehcache.sizeof.impl.ReflectionSizeOf
 

H

hashCode - Variable in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference
 
hashCode() - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference
HOTSPOT_32_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents HotSpot 32-bit
HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 32-Bit HotSpot JVM with Concurrent Mark-and-Sweep GC
HOTSPOT_64_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit HotSpot JVM
HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit HotSpot JVM with Compressed OOPs
HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit HotSpot JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC
HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit HotSpot JVM with Concurrent Mark-and-Sweep GC

I

IBM_32_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents IBM 32-bit
IBM_64_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit IBM JVM (with no reference compression)
IBM_64_BIT_WITH_COMPRESSED_REFS - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit IBM JVM (with reference compression)
IdentityWeakReference(T) - Constructor for class org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference
 
IdentityWeakReference(T, ReferenceQueue<T>) - Constructor for class org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference
 
IGNORE_SIZE_OF_DEFAULT_REGEXP - Static variable in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
IGNORE_SIZE_OF_PATTERN - Static variable in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
IGNORE_SIZE_OF_VM_ARGUMENT - Static variable in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
ignoreField(Field) - Method in interface org.ehcache.sizeof.Filter
Adds a field to the ignore list.
ignoreField(Field) - Method in class org.ehcache.sizeof.SizeOfFilterSource
 
ignoreInstancesOf(Class, boolean) - Method in interface org.ehcache.sizeof.Filter
Adds the class to the ignore list.
ignoreInstancesOf(Class, boolean) - Method in class org.ehcache.sizeof.SizeOfFilterSource
 
IgnoreSizeOf - Annotation Type in org.ehcache.sizeof.annotations
Annotation to ignore a field, type or entire package while doing a SizeOf measurement
inherited() - Element in annotation type org.ehcache.sizeof.annotations.IgnoreSizeOf
Controls whether the annotation, when applied to a type is to be applied to all its subclasses as well or solely on that type only.
instrumentation - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
instrumentation - Static variable in class org.ehcache.sizeof.impl.SizeOfAgent
 
INSTRUMENTATION_INSTANCE_SYSTEM_PROPERTY_NAME - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
INT - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
int.class
INTEGER - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Integer
invoke(Object, Method, Object[]) - Method in class org.ehcache.sizeof.annotations.AnnotationProxyFactory.AnnotationInvocationHandler
 
is64Bit() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
isAbort() - Method in class org.ehcache.sizeof.Configuration
 
isAnnotationPresentOrInherited(Class<?>) - Method in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
isHotspot() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM vendor is Hotspot
isHotspotCompressedOops() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
isHotspotConcurrentMarkSweepGC() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
isIBM() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM vendor is IBM
isIBMCompressedRefs() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
isJRockit() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM is JRockit
isJRockit64GBCompression() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
 
isOpenJDK() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM vendor is OpenJDK
isOSX() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Return true if the VM's vendor is Apple
isShared(Object) - Method in enum org.ehcache.sizeof.FlyweightType
Whether this is a shared object
isSilent() - Method in class org.ehcache.sizeof.Configuration
 

J

JvmInformation - Enum in org.ehcache.sizeof.impl
Detects and represents JVM-specific properties that relate to the memory data model for java objects that are useful for size of calculations.
JvmInformation(JvmInformation) - Constructor for enum org.ehcache.sizeof.impl.JvmInformation
 

K

keySet() - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 

L

loadAgent() - Static method in class org.ehcache.sizeof.impl.AgentLoader
Attempts to load the agent through the Attach API
LOCALE - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Locale
LOG - Static variable in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
LOG - Static variable in class org.ehcache.sizeof.ObjectGraphWalker
 
LOGGER - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.util.Logger
LOGGER - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
LOGGER - Static variable in enum org.ehcache.sizeof.impl.JvmInformation
 
LOGGER - Static variable in class org.ehcache.sizeof.impl.ReflectionSizeOf
 
LOGGER - Static variable in class org.ehcache.sizeof.impl.UnsafeSizeOf
 
LONG - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Long
LONG - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
long.class

M

map - Variable in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
MATHCONTEXT - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.math.MathContext
maxDepth - Variable in class org.ehcache.sizeof.Configuration.Builder
 
maxDepth - Variable in class org.ehcache.sizeof.Configuration
 
maxDepth(int) - Method in class org.ehcache.sizeof.Configuration.Builder
 
MISC - Enum constant in enum org.ehcache.sizeof.FlyweightType
misc comparisons that can not rely on the object's class.

N

newInstance(boolean, boolean, SizeOfFilter...) - Static method in class org.ehcache.sizeof.SizeOf
 
newInstance(SizeOfFilter...) - Static method in class org.ehcache.sizeof.SizeOf
 
NO_INSTRUMENTATION_SYSTEM_PROPERTY_NAME - Static variable in class org.ehcache.sizeof.impl.SizeOfAgent
 
nullSafeAdd(Deque<Object>, Object) - Static method in class org.ehcache.sizeof.ObjectGraphWalker
 

O

ObjectGraphWalker - Class in org.ehcache.sizeof
This will walk an object graph and let you execute some "function" along the way
ObjectGraphWalker(ObjectGraphWalker.Visitor, SizeOfFilter, boolean) - Constructor for class org.ehcache.sizeof.ObjectGraphWalker
Constructor
ObjectGraphWalker.Visitor - Interface in org.ehcache.sizeof
The visitor to execute the function on each node of the graph This is only to be used for the sizing of an object graph in memory!
OPENJDK_32_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents OpenJDK 32-bit
OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 32-Bit OpenJDK JVM with Concurrent Mark-and-Sweep GC
OPENJDK_64_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit OpenJDK JVM
OPENJDK_64_BIT_WITH_COMPRESSED_OOPS - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit OpenJDK JVM with Compressed OOPs
OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit OpenJDK JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC
OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit OpenJDK JVM with Concurrent Mark-and-Sweep GC
org.ehcache.sizeof - package org.ehcache.sizeof
 
org.ehcache.sizeof.annotations - package org.ehcache.sizeof.annotations
 
org.ehcache.sizeof.filters - package org.ehcache.sizeof.filters
 
org.ehcache.sizeof.impl - package org.ehcache.sizeof.impl
 
org.ehcache.sizeof.util - package org.ehcache.sizeof.util
 

P

parent - Variable in enum org.ehcache.sizeof.impl.JvmInformation
 
PassThroughFilter - Class in org.ehcache.sizeof.impl
 
PassThroughFilter() - Constructor for class org.ehcache.sizeof.impl.PassThroughFilter
 
premain(String, Instrumentation) - Static method in class org.ehcache.sizeof.impl.SizeOfAgent
 
PrimitiveType - Enum in org.ehcache.sizeof.impl
Primitive types in the VM type system and their sizes
PrimitiveType(Class<?>, int) - Constructor for enum org.ehcache.sizeof.impl.PrimitiveType
 
PROXY - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.net.Proxy
put(K, V) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
Puts into the underlying
putIfAbsent(K, V) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
Puts into the underlying

Q

QNAME - Enum constant in enum org.ehcache.sizeof.FlyweightType
javax.xml.namespace.QName
queue - Variable in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 

R

ReflectionSizeOf - Class in org.ehcache.sizeof.impl
SizeOf that uses reflection to measure on heap size of object graphs Inspired by Dr.
ReflectionSizeOf() - Constructor for class org.ehcache.sizeof.impl.ReflectionSizeOf
Builds a new SizeOf that will not filter fields and will cache reflected fields
ReflectionSizeOf(SizeOfFilter) - Constructor for class org.ehcache.sizeof.impl.ReflectionSizeOf
Builds a new SizeOf that will filter fields and will cache reflected fields
ReflectionSizeOf(SizeOfFilter, boolean, boolean) - Constructor for class org.ehcache.sizeof.impl.ReflectionSizeOf
Builds a new SizeOf that will filter fields
registerSystemProperty() - Static method in class org.ehcache.sizeof.impl.SizeOfAgent
 
remove(K) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
Remove from the underlying
removeFilter(SizeOfFilter) - Method in class org.ehcache.sizeof.Configuration.Builder
 
removeFilters(SizeOfFilter...) - Method in class org.ehcache.sizeof.Configuration.Builder
 

S

SHORT - Enum constant in enum org.ehcache.sizeof.FlyweightType
java.lang.Short
SHORT - Enum constant in enum org.ehcache.sizeof.impl.PrimitiveType
short.class
shouldWalkClass(Class<?>) - Method in class org.ehcache.sizeof.ObjectGraphWalker
 
silent - Variable in class org.ehcache.sizeof.Configuration.Builder
 
silent - Variable in class org.ehcache.sizeof.Configuration
 
silent(boolean) - Method in class org.ehcache.sizeof.Configuration.Builder
 
size - Variable in enum org.ehcache.sizeof.impl.PrimitiveType
 
sizeOf(Object) - Method in class org.ehcache.sizeof.impl.AgentSizeOf
 
sizeOf(Object) - Method in class org.ehcache.sizeof.impl.ReflectionSizeOf
Calculates the size in memory (heap) of the instance passed in, not navigating the down graph
sizeOf(Object) - Method in class org.ehcache.sizeof.impl.UnsafeSizeOf
Calculates the size in memory (heap) of the instance passed in, not navigating the down graph
sizeOf(Object) - Method in class org.ehcache.sizeof.SizeOf
Calculates the size in memory (heap) of the instance passed in, not navigating the down graph
SizeOf - Class in org.ehcache.sizeof
Abstract sizeOf for Java.
SizeOf(SizeOfFilter, boolean, boolean) - Constructor for class org.ehcache.sizeof.SizeOf
Builds a new SizeOf that will filter fields according to the provided filter
SIZEOF_AGENT_CLASSNAME - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
SizeOf.CachingSizeOfVisitor - Class in org.ehcache.sizeof
Will Cache already visited types
SizeOf.SizeOfVisitor - Class in org.ehcache.sizeof
Will return the sizeOf each instance
SizeOfAgent - Class in org.ehcache.sizeof.impl
 
SizeOfAgent() - Constructor for class org.ehcache.sizeof.impl.SizeOfAgent
 
sizeOfFilter - Variable in class org.ehcache.sizeof.ObjectGraphWalker
 
SizeOfFilter - Interface in org.ehcache.sizeof.filters
Filter to filter types or fields of object graphs passed to a SizeOf engine
SizeOfFilterSource - Class in org.ehcache.sizeof
 
SizeOfFilterSource(boolean) - Constructor for class org.ehcache.sizeof.SizeOfFilterSource
 
SizeOfVisitor() - Constructor for class org.ehcache.sizeof.SizeOf.SizeOfVisitor
 
superClasses - Variable in class org.ehcache.sizeof.filters.TypeFilter
 
supportsAgentSizeOf() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Whether the jvm can support AgentSizeOf implementation.
supportsReflectionSizeOf() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Whether the jvm can support ReflectionSizeOf implementation.
supportsUnsafeSizeOf() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Whether the jvm can support UnsafeSizeOf implementation.

T

toString() - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference
toString() - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
TWENTY_FIVE_GB - Static variable in enum org.ehcache.sizeof.impl.JvmInformation
 
type - Variable in enum org.ehcache.sizeof.impl.PrimitiveType
 
TYPE_MAPPINGS - Static variable in enum org.ehcache.sizeof.FlyweightType
 
typeFilter - Variable in class org.ehcache.sizeof.SizeOfFilterSource
 
TypeFilter - Class in org.ehcache.sizeof.filters
 
TypeFilter() - Constructor for class org.ehcache.sizeof.filters.TypeFilter
 

U

UNKNOWN_32_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents Generic 32-bit
UNKNOWN_64_BIT - Enum constant in enum org.ehcache.sizeof.impl.JvmInformation
Represents 64-Bit Generic JVM
UNSAFE - Static variable in class org.ehcache.sizeof.impl.UnsafeSizeOf
 
UnsafeSizeOf - Class in org.ehcache.sizeof.impl
Unsafe.theUnsafe based sizeOf measurement All constructors will throw UnsupportedOperationException if theUnsafe isn't accessible on this platform
UnsafeSizeOf() - Constructor for class org.ehcache.sizeof.impl.UnsafeSizeOf
Builds a new SizeOf that will not filter fields and will cache reflected fields
UnsafeSizeOf(SizeOfFilter) - Constructor for class org.ehcache.sizeof.impl.UnsafeSizeOf
Builds a new SizeOf that will filter fields according to the provided filter and will cache reflected fields
UnsafeSizeOf(SizeOfFilter, boolean, boolean) - Constructor for class org.ehcache.sizeof.impl.UnsafeSizeOf
Builds a new SizeOf that will filter fields according to the provided filter
USE_VERBOSE_DEBUG_LOGGING - Static variable in class org.ehcache.sizeof.ObjectGraphWalker
 

V

validateCustomAnnotationPattern(String, Pattern) - Method in class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 
valueOf(String) - Static method in enum org.ehcache.sizeof.FlyweightType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ehcache.sizeof.impl.PrimitiveType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ehcache.sizeof.FlyweightType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ehcache.sizeof.impl.PrimitiveType
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE_DEBUG_LOGGING - Static variable in class org.ehcache.sizeof.ObjectGraphWalker
 
VIRTUAL_MACHINE_ATTACH - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
VIRTUAL_MACHINE_CLASSNAME - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
VIRTUAL_MACHINE_DETACH - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
VIRTUAL_MACHINE_LOAD_AGENT - Static variable in class org.ehcache.sizeof.impl.AgentLoader
 
visit(Object) - Method in interface org.ehcache.sizeof.ObjectGraphWalker.Visitor
The visit method executed on each node
visit(Object) - Method in class org.ehcache.sizeof.SizeOf.CachingSizeOfVisitor
The visit method executed on each node
visit(Object) - Method in class org.ehcache.sizeof.SizeOf.SizeOfVisitor
The visit method executed on each node
visited(Object, long) - Method in interface org.ehcache.sizeof.VisitorListener
 
visitor - Variable in class org.ehcache.sizeof.ObjectGraphWalker
 
VisitorListener - Interface in org.ehcache.sizeof
 

W

walk(Object...) - Method in class org.ehcache.sizeof.ObjectGraphWalker
Walk the graph and call into the "visitor"
walk(VisitorListener, Object...) - Method in class org.ehcache.sizeof.ObjectGraphWalker
Walk the graph and call into the "visitor"
walker - Variable in class org.ehcache.sizeof.SizeOf
 
warnIfOSX() - Static method in class org.ehcache.sizeof.impl.AgentLoader
 
WeakIdentityConcurrentMap<K,V> - Class in org.ehcache.sizeof.util
A poor man's implementation of a WeakIdentityConcurrentMap to hold the CacheManager associated ExecutorServices
WeakIdentityConcurrentMap() - Constructor for class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
Constructor
WeakIdentityConcurrentMap(WeakIdentityConcurrentMap.CleanUpTask<V>) - Constructor for class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
Constructor
WeakIdentityConcurrentMap.CleanUpTask<T> - Interface in org.ehcache.sizeof.util
 
WeakIdentityConcurrentMap.IdentityWeakReference<T> - Class in org.ehcache.sizeof.util
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values