Uses of Interface
org.openjena.atlas.lib.Cache

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
<Key,Value>
Cache<Key,Value>
CacheFactory.createCache(float loadFactor, int maxSize)
          Create a cache which has space for up to a certain number of objects.
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createCache(Getter<Key,Value> getter, int maxSize)
          Create a cache which has space for upto a certain number of objects.
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createCache(int maxSize)
          Create a cache which has space for up to a certain number of objects.
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createCacheUnbounded()
          Create a cache which has unbounded space
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createCacheWithGetter(Cache<Key,Value> cache, Getter<Key,Value> getter)
           
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createNullCache()
          Create a null cache
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createOneSlotCache()
          One slot cache
static
<Key,Value>
Cache<Key,Value>
CacheFactory.createSimpleCache(int size)
          Create a lightweight cache (e.g.
static
<Key,Value>
Cache<Key,Value>
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
<Key,Value>
Cache<Key,Value>
CacheFactory.createCacheWithGetter(Cache<Key,Value> cache, Getter<Key,Value> getter)
           
static
<Key,Value>
CacheStats<Key,Value>
CacheFactory.createStats(Cache<Key,Value> cache)
          Add a statistics wrapper to an existing cache
static
<Key,Value>
Cache<Key,Value>
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)
           
 



Licenced under the Apache License, Version 2.0