| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.pool.sizeof.SizeOf
net.sf.ehcache.pool.sizeof.ReflectionSizeOf
public class ReflectionSizeOf
SizeOf that uses reflection to measure on heap size of object graphs
| Constructor Summary | |
|---|---|
ReflectionSizeOf()
Builds a new SizeOf that will not filter fields and will cache reflected fields  | 
|
ReflectionSizeOf(SizeOfFilter fieldFilter)
Builds a new SizeOf that will filter fields and will cache reflected fields  | 
|
ReflectionSizeOf(SizeOfFilter fieldFilter,
                 boolean caching)
Builds a new SizeOf that will filter fields  | 
|
| Method Summary | |
|---|---|
 long | 
sizeOf(Object obj)
Calculates the size in memory (heap) of the instance passed in, not navigating the down graph  | 
| Methods inherited from class net.sf.ehcache.pool.sizeof.SizeOf | 
|---|
deepSizeOf | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ReflectionSizeOf()
ReflectionSizeOf(net.sf.ehcache.pool.sizeof.filter.SizeOfFilter, boolean)public ReflectionSizeOf(SizeOfFilter fieldFilter)
fieldFilter - The filter to applyReflectionSizeOf(net.sf.ehcache.pool.sizeof.filter.SizeOfFilter, boolean), 
SizeOfFilter
public ReflectionSizeOf(SizeOfFilter fieldFilter,
                        boolean caching)
fieldFilter - The filter to applycaching - Whether to cache reflected fieldsSizeOfFilter| Method Detail | 
|---|
public long sizeOf(Object obj)
sizeOf in class SizeOfobj - the object to measure the size of
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||