IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.cache
Interface Sizeable


public interface Sizeable

All the objects put into the cache must implement this interface if the application wants to control the size of a cache instance in terms of heapsize.


Method Summary
 long getObjectSize()
          Returns an implementation-specific size of the object.
 

Method Detail

getObjectSize

long getObjectSize()
Returns an implementation-specific size of the object.

Returns:
estimated size of object

IBM WebSphere Application ServerTM
Release 8