Class SizeOfFilterSource
java.lang.Object
org.ehcache.sizeof.SizeOfFilterSource
- All Implemented Interfaces:
Filter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidignoreField(Field field) Adds a field to the ignore list.voidignoreInstancesOf(Class clazz, boolean strict) Adds the class to the ignore list.
-
Constructor Details
-
SizeOfFilterSource
public SizeOfFilterSource(boolean registerAnnotationFilter)
-
-
Method Details
-
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
-