public class TileInfoCache
extends java.util.concurrent.ConcurrentHashMap<java.lang.String,jfxtras.labs.map.tile.TileInfo>
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_EXPIRE
Default expire time for the cache: one hour.
|
Constructor and Description |
---|
TileInfoCache() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Checks the expiration of images in the cache, and removes them eventually.
|
void |
setExpire(long expire)
Set the time difference when a image in the cache expires.
|
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
public static final long DEFAULT_EXPIRE