Package org.ehcache.sizeof
Interface Filter
-
- All Known Implementing Classes:
SizeOfFilterSource
public interface Filter
Filters all the sizing operation performed by a SizeOfEngine instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
ignoreField(java.lang.reflect.Field field)
Adds a field to the ignore list.void
ignoreInstancesOf(java.lang.Class clazz, boolean strict)
Adds the class to the ignore list.
-
-
-
Method Detail
-
ignoreInstancesOf
void ignoreInstancesOf(java.lang.Class clazz, boolean strict)
Adds the class to the ignore list. Can be strict, or include subtypes- Parameters:
clazz
- the class to ignorestrict
- true if to be ignored strictly, or false to include sub-classes
-
ignoreField
void ignoreField(java.lang.reflect.Field field)
Adds a field to the ignore list. When that field is walked to by the SizeOfEngine, it won't navigate the graph further- Parameters:
field
- the field to stop navigating the graph at
-
-