org.ehcache.sizeof
Class SizeOfFilterSource
java.lang.Object
org.ehcache.sizeof.SizeOfFilterSource
- All Implemented Interfaces:
- Filter
public final class SizeOfFilterSource
- extends Object
- implements Filter
- Author:
- Alex Snaps
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SizeOfFilterSource
public SizeOfFilterSource(boolean registerAnnotationFilter)
getFilters
public SizeOfFilter[] getFilters()
ignoreInstancesOf
public void ignoreInstancesOf(Class clazz,
boolean strict)
- Description copied from interface:
Filter
- Adds the class to the ignore list. Can be strict, or include subtypes
- Specified by:
ignoreInstancesOf in interface Filter
- Parameters:
clazz - the class to ignorestrict - true if to be ignored strictly, or false to include sub-classes
ignoreField
public void ignoreField(Field field)
- Description copied from interface:
Filter
- Adds a field to the ignore list. When that field is walked to by the SizeOfEngine, it won't navigate the graph further
- Specified by:
ignoreField in interface Filter
- Parameters:
field - the field to stop navigating the graph at
Copyright © 2016 Terracotta. All Rights Reserved.