Package com.ibm.websphere.cache
Interface DistributedNioMapObject
- 
 public interface DistributedNioMapObjectImplement this interface in your cacheable object before placing it into cache if you need to get control at the time the object is being removed from cache.- See Also:
- DistributedNioMap
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCacheValueSize()This determines the best-effort size of the DistributedNioMapObject's value.voidrelease()Release the cached object(ByteBuffers/MetaData) to the NIO buffer management.java.lang.StringtoString()toString() method used to display.
 
- 
- 
- 
Method Detail- 
releasevoid release() Release the cached object(ByteBuffers/MetaData) to the NIO buffer management.- See Also:
- DistributedNioMap
 
 - 
toStringjava.lang.String toString() toString() method used to display.- Overrides:
- toStringin class- java.lang.Object
 
 - 
getCacheValueSizelong getCacheValueSize() This determines the best-effort size of the DistributedNioMapObject's value.- Returns:
- The best-effort determination of the size of the DistributedNioMapObject's value. If the size cannot be determined, the return value is -1;
 
 
- 
 
-