org.ehcache.sizeof
Interface Filter

All Known Implementing Classes:
SizeOfFilterSource

public interface Filter

Filters all the sizing operation performed by a SizeOfEngine instance

Author:
Alex Snaps

Method Summary
 void ignoreField(Field field)
          Adds a field to the ignore list.
 void ignoreInstancesOf(Class clazz, boolean strict)
          Adds the class to the ignore list.
 

Method Detail

ignoreInstancesOf

void ignoreInstancesOf(Class clazz,
                       boolean strict)
Adds the class to the ignore list. Can be strict, or include subtypes

Parameters:
clazz - the class to ignore
strict - true if to be ignored strictly, or false to include sub-classes

ignoreField

void ignoreField(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


Copyright © 2016 Terracotta. All Rights Reserved.