Class SizeOfFilterSource
java.lang.Object
org.ehcache.sizeof.SizeOfFilterSource
- All Implemented Interfaces:
Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CopyOnWriteArrayList<SizeOfFilter> private final TypeFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void(package private) voidapplyMutators(ClassLoader classLoader) voidignoreField(Field field) Adds a field to the ignore list.voidignoreInstancesOf(Class clazz, boolean strict) Adds the class to the ignore list.
-
Field Details
-
filters
-
typeFilter
-
-
Constructor Details
-
SizeOfFilterSource
public SizeOfFilterSource(boolean registerAnnotationFilter)
-
-
Method Details
-
applyMutators
private void applyMutators() -
applyMutators
-
getFilters
-
ignoreInstancesOf
Description copied from interface:FilterAdds the class to the ignore list. Can be strict, or include subtypes- Specified by:
ignoreInstancesOfin interfaceFilter- Parameters:
clazz- the class to ignorestrict- true if to be ignored strictly, or false to include sub-classes
-
ignoreField
Description copied from interface:FilterAdds a field to the ignore list. When that field is walked to by the SizeOfEngine, it won't navigate the graph further- Specified by:
ignoreFieldin interfaceFilter- Parameters:
field- the field to stop navigating the graph at
-