|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.pool.sizeof.filter.ResourceSizeOfFilter
public class ResourceSizeOfFilter
Filters based on a configuration file
Constructor Summary | |
---|---|
ResourceSizeOfFilter(URL filterData)
Builds a filter based on the provided configuration URL |
Method Summary | |
---|---|
boolean |
filterClass(Class<?> klazz)
Checks whether the type needs to be filtered |
Collection<Field> |
filterFields(Class<?> klazz,
Collection<Field> fields)
Returns the fields to walk and measure for a type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceSizeOfFilter(URL filterData) throws IOException
filterData
- the URL of the configuration
IOException
- if it couldn't read the configuration from the URLMethod Detail |
---|
public Collection<Field> filterFields(Class<?> klazz, Collection<Field> fields)
filterFields
in interface SizeOfFilter
klazz
- the typefields
- the fields already "qualified"
public boolean filterClass(Class<?> klazz)
filterClass
in interface SizeOfFilter
klazz
- the type
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |