public abstract class TerrainCache extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
TerrainCache()
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
TerrainCacheGroup |
getGroup()
Gets the
TerrainCacheGroup that contains this cache. |
abstract TerrainRegion |
getLeastRecentlyUsedRegion()
Gets the region in this cache that was least recently used.
|
abstract long |
getSize()
Gets the approximate total memory, in bytes, used by all regions in the cache.
|
public final TerrainCacheGroup getGroup()
TerrainCacheGroup that contains this cache.public abstract long getSize()
@Nullable public abstract TerrainRegion getLeastRecentlyUsedRegion()