Top Description Methods
org.apache.derby.iapi.services.cache

public Interface SizedCacheable

extends Cacheable

This interface extends the Cacheable interface Cacheable with a method that estimates the size of the Cacheable object, in bytes. CacheManagers constructed with the SizedCacheFactory interface regulate the total estimated cache size, in bytes. CacheManagers constructed with the CacheFactory use regulate the total number of cache entries.
See Also
Cacheable, CacheFactory

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the estimated size, in bytes
getSize
()

Get the estimated size of the cacheable object.

Inherited from org.apache.derby.iapi.services.cache.Cacheable:
cleanclearIdentitycreateIdentitygetIdentityisDirtysetIdentity

Method Detail

getSizeback to summary
public int getSize()

Get the estimated size of the cacheable object.

Returns:int

the estimated size, in bytes