Skip navigation links
A B C D F G I J K M N O P R S T U V W 

A

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
 
agentmain(String, Instrumentation) - Static method in class org.ehcache.sizeof.impl.SizeOfAgent
 
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
AnnotationProxyFactory - Class in org.ehcache.sizeof.annotations
Allows you to transform the type of your custom annotation to a reference annotation type.
AnnotationSizeOfFilter - Class in org.ehcache.sizeof.filters
 
AnnotationSizeOfFilter() - Constructor for class org.ehcache.sizeof.filters.AnnotationSizeOfFilter
 

B

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.

C

cleanUp() - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
cleanUp(T) - Method in interface org.ehcache.sizeof.util.WeakIdentityConcurrentMap.CleanUpTask
 
clearlFilters() - Method in class org.ehcache.sizeof.Configuration.Builder
 
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

D

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
deepSizeOf(Object...) - Method in class org.ehcache.sizeof.SizeOf
 

F

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

G

get(K) - Method in class org.ehcache.sizeof.util.WeakIdentityConcurrentMap
 
getAgentSizeOfAdjustment() - Method in enum org.ehcache.sizeof.impl.JvmInformation
The size of the jvm-specific agent result adjustment in bytes.
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
getFieldOffsetAdjustment() - Method in enum org.ehcache.sizeof.impl.JvmInformation
The size of the jvm-specific field offset adjustment in bytes.
getFilters() - Method in class org.ehcache.sizeof.Configuration
 
getFilters() - Method in class org.ehcache.sizeof.SizeOfFilterSource
 
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)
getJvmDescription() - Method in enum org.ehcache.sizeof.impl.JvmInformation
A human-readable description of the JVM and its relevant enabled options.Os
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.
getPointerSize() - Method in enum org.ehcache.sizeof.impl.JvmInformation
Size of a pointer in bytes on this runtime

I

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
isAbort() - Method in class org.ehcache.sizeof.Configuration
 
isHotspot() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM vendor is Hotspot
isIBM() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM vendor is IBM
isJRockit() - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns true if VM is JRockit
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
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.

K

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

M

maxDepth(int) - Method in class org.ehcache.sizeof.Configuration.Builder
 

N

newInstance(SizeOfFilter...) - Static method in class org.ehcache.sizeof.SizeOf
 
newInstance(boolean, boolean, SizeOfFilter...) - Static method in class org.ehcache.sizeof.SizeOf
 

O

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

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
 
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

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
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

silent(boolean) - Method in class org.ehcache.sizeof.Configuration.Builder
 
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 - 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(Object) - Method in class org.ehcache.sizeof.SizeOf
Calculates the size in memory (heap) of the instance passed in, not navigating the down graph
SizeOfAgent - Class in org.ehcache.sizeof.impl
 
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
 
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
TypeFilter - Class in org.ehcache.sizeof.filters
 
TypeFilter() - Constructor for class org.ehcache.sizeof.filters.TypeFilter
 

U

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

V

valueOf(String) - Static method in enum org.ehcache.sizeof.impl.JvmInformation
Returns the enum constant of this type with the specified name.
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.
visited(Object, long) - Method in interface org.ehcache.sizeof.VisitorListener
 
VisitorListener - Interface in org.ehcache.sizeof
 

W

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
 
A B C D F G I J K M N O P R S T U V W 
Skip navigation links

Copyright © 2024 Terracotta. All rights reserved.