NASA World Wind

gov.nasa.worldwind.cache
Interface Cacheable

All Known Implementing Classes:
BasicTextureCache.TextureEntry, Sector, TextureTile, Tile

public interface Cacheable


Method Summary
 long getSizeInBytes()
          Retrieves the approximate size of this object in bytes.
 

Method Detail

getSizeInBytes

long getSizeInBytes()
Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size for smaller objects, but use approximate values for objects that include such large components that the approximation would produce an error so small that the extra computation would be wasteful.

Returns:
this Cacheable object's size in bytes

NASA World Wind