|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cache | |
---|---|
org.openjena.atlas.lib | |
org.openjena.atlas.lib.cache |
Uses of Cache in org.openjena.atlas.lib |
---|
Subinterfaces of Cache in org.openjena.atlas.lib | |
---|---|
interface |
CacheStats<K,V>
A cache with some readable statistics |
Methods in org.openjena.atlas.lib that return Cache | ||
---|---|---|
static
|
CacheFactory.createCache(float loadFactor,
int maxSize)
Create a cache which has space for up to a certain number of objects. |
|
static
|
CacheFactory.createCache(Getter<Key,Value> getter,
int maxSize)
Create a cache which has space for upto a certain number of objects. |
|
static
|
CacheFactory.createCache(int maxSize)
Create a cache which has space for up to a certain number of objects. |
|
static
|
CacheFactory.createCacheUnbounded()
Create a cache which has unbounded space |
|
static
|
CacheFactory.createCacheWithGetter(Cache<Key,Value> cache,
Getter<Key,Value> getter)
|
|
static
|
CacheFactory.createNullCache()
Create a null cache |
|
static
|
CacheFactory.createOneSlotCache()
One slot cache |
|
static
|
CacheFactory.createSimpleCache(int size)
Create a lightweight cache (e.g. |
|
static
|
CacheFactory.createSync(Cache<Key,Value> cache)
Add a synchronization wrapper to an existing cache |
Methods in org.openjena.atlas.lib with parameters of type Cache | ||
---|---|---|
static
|
CacheFactory.createCacheWithGetter(Cache<Key,Value> cache,
Getter<Key,Value> getter)
|
|
static
|
CacheFactory.createStats(Cache<Key,Value> cache)
Add a statistics wrapper to an existing cache |
|
static
|
CacheFactory.createSync(Cache<Key,Value> cache)
Add a synchronization wrapper to an existing cache |
Uses of Cache in org.openjena.atlas.lib.cache |
---|
Classes in org.openjena.atlas.lib.cache that implement Cache | |
---|---|
class |
Cache0<K,V>
A cache that keeps nothing |
class |
Cache1<K,V>
A one-slot cache. |
class |
CacheLRU<K,V>
This class is not thread-safe. |
class |
CacheSimple<K,V>
A simple fixed size cache that uses the hash code to address a slot. |
class |
CacheStatsAtomic<Key,Value>
Capture statisics for a cache - this class is thread safe (you can read the stats while the cache is active) |
class |
CacheStatsSimple<Key,Value>
Collect statistics for a cache - this class is not thread safe (@see{CacheStatsAtomic}) |
class |
CacheSync<Key,T>
|
class |
CacheUnbounded<K,V>
|
class |
CacheWithGetter<K,V>
Cache that takes a Getter to automatically fill cache misses. |
class |
CacheWrapper<Key,T>
|
Constructors in org.openjena.atlas.lib.cache with parameters of type Cache | |
---|---|
CacheStatsAtomic(Cache<Key,Value> cache)
|
|
CacheStatsSimple(Cache<Key,Value> cache)
|
|
CacheSync(Cache<Key,T> cache)
|
|
CacheWithGetter(Cache<K,V> cache,
Getter<K,V> getter)
|
|
CacheWrapper(Cache<Key,T> cache)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |