| Package | Description |
|---|---|
| org.apache.jena.atlas.lib | |
| org.apache.jena.atlas.lib.cache |
| Modifier and Type | Method and Description |
|---|---|
static <Key,Value> |
CacheFactory.createCache(int maxSize)
Create a cache which has space for up to a certain number of objects.
|
static <Key,Value> |
CacheFactory.createNullCache()
Create a null cache
|
static <Key,Value> |
CacheFactory.createOneSlotCache()
One slot cache
|
static <Key,Value> |
CacheFactory.createSimpleCache(int size)
Create a lightweight cache (e.g.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Cache0<K,V>
A cache that keeps nothing
|
class |
Cache1<K,V>
A one-slot cache.
|
class |
CacheGuava<K,V>
Wrapper around a shaded com.google.common.cache
|
class |
CacheSimple<K,V>
A simple fixed size cache that uses the hash code to address a slot.
|
class |
CacheWrapper<Key,T> |
| Constructor and Description |
|---|
CacheSetImpl(Cache<T,Object> cache) |
CacheWrapper(Cache<Key,T> cache) |
Licenced under the Apache License, Version 2.0