|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.util.cacheHandler.CacheHandler com.bbn.openmap.dataAccess.image.ImageTile.Cache
public static class ImageTile.Cache
Field Summary | |
---|---|
protected float |
cutoffScaleRatio
|
static float |
DEFAULT_SCALE_RATIO
|
Fields inherited from class com.bbn.openmap.util.cacheHandler.CacheHandler |
---|
DEFAULT_MAX_CACHE_SIZE, logger, logicalClock, objs |
Constructor Summary | |
---|---|
ImageTile.Cache()
|
|
ImageTile.Cache(int maxSize)
|
Method Summary | |
---|---|
float |
getCutoffScaleRatio()
|
CacheObject |
load(java.lang.Object key)
Returns a CacheObject that will be loaded into the cache. |
void |
setCutoffScaleRatio(float scale)
|
Methods inherited from class com.bbn.openmap.util.cacheHandler.CacheHandler |
---|
clear, get, getCacheSize, listIterator, replaceLeastUsed, resetCache, resetCache, searchCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float DEFAULT_SCALE_RATIO
protected float cutoffScaleRatio
Constructor Detail |
---|
public ImageTile.Cache()
public ImageTile.Cache(int maxSize)
Method Detail |
---|
public void setCutoffScaleRatio(float scale)
public float getCutoffScaleRatio()
public CacheObject load(java.lang.Object key)
load
in class CacheHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |