com.ibm.websphere.cache

Interface Sizeable

All known implementing classes:
CacheableCommandImpl

  1. 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

Modifier and Type Method and Description
  1. long
getObjectSize()
Returns an implementation-specific size of the object.

Method Detail

getObjectSize

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