Package org.ehcache.sizeof.impl
Class PassThroughFilter
java.lang.Object
org.ehcache.sizeof.impl.PassThroughFilter
- All Implemented Interfaces:
SizeOfFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
filterClass
(Class<?> klazz) Checks whether the type needs to be filteredfilterFields
(Class<?> klazz, Collection<Field> fields) Returns the fields to walk and measure for a type
-
Constructor Details
-
PassThroughFilter
public PassThroughFilter()
-
-
Method Details
-
filterFields
Returns the fields to walk and measure for a type- Specified by:
filterFields
in interfaceSizeOfFilter
- Parameters:
klazz
- the typefields
- the fields already "qualified"- Returns:
- the filtered Set
-
filterClass
Checks whether the type needs to be filtered- Specified by:
filterClass
in interfaceSizeOfFilter
- Parameters:
klazz
- the type- Returns:
- true, if to be filtered out
-