Class PassThroughFilter
java.lang.Object
org.ehcache.sizeof.impl.PassThroughFilter
- All Implemented Interfaces:
SizeOfFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilterClass(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:
filterFieldsin interfaceSizeOfFilter- Parameters:
klazz- the typefields- the fields already "qualified"- Returns:
- the filtered Set
-
filterClass
Checks whether the type needs to be filtered- Specified by:
filterClassin interfaceSizeOfFilter- Parameters:
klazz- the type- Returns:
- true, if to be filtered out
-