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 Detail

      • getObjectSize

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