Package | Description |
---|---|
lucee.commons.io.cache |
Modifier and Type | Method and Description |
---|---|
CacheEntry |
Cache.getCacheEntry(java.lang.String key)
return cache entry that match the key, throws a CacheException when entry does not exist or is stale
|
CacheEntry |
Cache.getCacheEntry(java.lang.String key,
CacheEntry defaultValue)
return cache entry that match the key or the defaultValue when entry does not exist
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CacheEntry> |
Cache.entries()
Returns a List of entries containing in this cache Each element in the returned list is a CacheEntry.
|
java.util.List<CacheEntry> |
Cache.entries(CacheEntryFilter filter)
Returns a list of entries containing in this cache that match the given filter.
|
java.util.List<CacheEntry> |
Cache.entries(CacheKeyFilter filter)
Returns a list of entries containing in this cache that match the given filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CacheEntryFilter.accept(CacheEntry entry)
Tests if a specified entry should be accepted.
|
CacheEntry |
Cache.getCacheEntry(java.lang.String key,
CacheEntry defaultValue)
return cache entry that match the key or the defaultValue when entry does not exist
|