Package gov.nasa.worldwind.cache
Interface Cacheable
-
- All Known Implementing Classes:
AbstractSurfaceObject.SurfaceObjectStateKey
,AbstractSurfaceShape.SurfaceShapeStateKey
,BasicDataFileStore.DBEntry
,BasicElevationModel.ElevationTile
,BasicGpuResourceCache.CacheEntry
,BufferedImageRaster
,BufferWrapperRaster
,ByteBufferRaster
,Curtain.CurtainGeometry
,GDALDataRaster
,GeographicImageInterpolator.GeographicCell
,Geometry
,ImageInterpolator.Cell
,MercatorSector
,MercatorTextureTile
,MipMappedBufferedImageRaster
,PlaceNameLayer.PlaceNameChunk
,PlaceNameLayer.Tile
,Polygon.PolygonGeometry
,Sector
,SurfaceObjectTileBuilder.SurfaceObjectTile
,SurfaceObjectTileBuilder.SurfaceObjectTileStateKey
,TextureTile
,Tile
,WMSBasicElevationModel.ElevationCompositionTile
,WMSTiledImageLayer.ComposeImageTile
public interface Cacheable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-