| Package | Description |
|---|---|
| org.faktorips.runtime | |
| org.faktorips.runtime.caching | |
| org.faktorips.runtime.internal |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleCache
Simple cache that just uses a HashMap to cache objects and never releases them.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> IComputable<K,V> |
ICacheFactory.createCache(IComputable<K,V> computable)
Creates a new cache of the given type.
|
IComputable<Class<?>,List<?>> |
ICacheFactory.createEnumCache(IComputable<Class<?>,List<?>> computable) |
IComputable<String,IProductComponent> |
ICacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
IComputable<GenerationId,IProductComponentGeneration> |
ICacheFactory.createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable) |
IComputable<String,ITable<?>> |
ICacheFactory.createTableCache(IComputable<String,ITable<?>> computable) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> IComputable<K,V> |
ICacheFactory.createCache(IComputable<K,V> computable)
Creates a new cache of the given type.
|
<K,V> Memoizer<K,V> |
DefaultCacheFactory.createCache(IComputable<K,V> computable) |
IComputable<Class<?>,List<?>> |
ICacheFactory.createEnumCache(IComputable<Class<?>,List<?>> computable) |
IComputable<String,IProductComponent> |
ICacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
IComputable<GenerationId,IProductComponentGeneration> |
ICacheFactory.createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable) |
IComputable<String,ITable<?>> |
ICacheFactory.createTableCache(IComputable<String,ITable<?>> computable) |
| Constructor and Description |
|---|
SimpleCache(IComputable<Object,Object> computable) |
SimpleCache(IComputable<Object,Object> computable,
int initialCapacity) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractComputable<K,V> |
class |
Memoizer<K,V>
This Memoizer is implemented as suggested by Brian Goetz in Java Concurrency in Practice.
|
| Constructor and Description |
|---|
Memoizer(IComputable<K,V> computable)
The constructor to create a memoizer with default values for the internal
ConcurrentHashMap |
Memoizer(IComputable<K,V> computable,
int initSize,
float loadFactor,
int concurrencyLevel)
This constructor needs next to the
IComputable also the initial size, the load factor
and the concurrency level. |
| Modifier and Type | Method and Description |
|---|---|
IComputable<Class<?>,List<?>> |
AbstractCacheFactory.createEnumCache(IComputable<Class<?>,List<?>> computable) |
IComputable<String,IProductComponent> |
AbstractCacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
IComputable<GenerationId,IProductComponentGeneration> |
AbstractCacheFactory.createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable) |
IComputable<String,ITable<?>> |
AbstractCacheFactory.createTableCache(IComputable<String,ITable<?>> computable) |
| Modifier and Type | Method and Description |
|---|---|
IComputable<Class<?>,List<?>> |
AbstractCacheFactory.createEnumCache(IComputable<Class<?>,List<?>> computable) |
IComputable<String,IProductComponent> |
AbstractCacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
IComputable<GenerationId,IProductComponentGeneration> |
AbstractCacheFactory.createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable) |
IComputable<String,ITable<?>> |
AbstractCacheFactory.createTableCache(IComputable<String,ITable<?>> computable) |
Copyright © 2020. All rights reserved.