Package org.ehcache.sizeof
Class SizeOf.CachingSizeOfVisitor
java.lang.Object
org.ehcache.sizeof.SizeOf.CachingSizeOfVisitor
- All Implemented Interfaces:
ObjectGraphWalker.Visitor
- Enclosing class:
SizeOf
Will Cache already visited types
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cache
-
-
Constructor Details
-
CachingSizeOfVisitor
private CachingSizeOfVisitor()
-
-
Method Details
-
visit
The visit method executed on each node- Specified by:
visit
in interfaceObjectGraphWalker.Visitor
- Parameters:
object
- the reference at that node- Returns:
- a long for you to do things with...
-