public static class ImageTile.Cache extends CacheHandler
Modifier and Type | Field and Description |
---|---|
protected float |
cutoffScaleRatio |
static float |
DEFAULT_SCALE_RATIO |
DEFAULT_MAX_CACHE_SIZE, logger, logicalClock, objs
Constructor and Description |
---|
ImageTile.Cache() |
ImageTile.Cache(int maxSize) |
Modifier and Type | Method and Description |
---|---|
float |
getCutoffScaleRatio() |
CacheObject |
load(java.lang.Object key)
Returns a CacheObject that will be loaded into the cache.
|
void |
setCutoffScaleRatio(float scale) |
clear, get, getCacheSize, listIterator, replaceLeastUsed, resetCache, resetCache, searchCache
public static final float DEFAULT_SCALE_RATIO
protected float cutoffScaleRatio
public ImageTile.Cache()
public ImageTile.Cache(int maxSize)
public void setCutoffScaleRatio(float scale)
public float getCutoffScaleRatio()
public CacheObject load(java.lang.Object key)
load
in class CacheHandler
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details