Uses of Interface
org.faktorips.runtime.caching.IComputable
-
Packages that use IComputable Package Description org.faktorips.runtime org.faktorips.runtime.caching org.faktorips.runtime.internal -
-
Uses of IComputable in org.faktorips.runtime
Classes in org.faktorips.runtime that implement IComputable Modifier and Type Class Description classSimpleCacheSimple cache that just uses a HashMap to cache objects and never releases them.Methods in org.faktorips.runtime that return IComputable Modifier and Type Method Description <K,V>
IComputable<K,V>ICacheFactory. createCache(IComputable<K,V> computable)Creates a new cache of the given type.IComputable<java.lang.Class<?>,java.util.List<?>>ICacheFactory. createEnumCache(IComputable<java.lang.Class<?>,java.util.List<?>> computable)IComputable<java.lang.String,IProductComponent>ICacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)IComputable<GenerationId,IProductComponentGeneration>ICacheFactory. createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable)IComputable<java.lang.String,ITable<?>>ICacheFactory. createTableCache(IComputable<java.lang.String,ITable<?>> computable)Methods in org.faktorips.runtime with parameters of type IComputable Modifier and Type Method Description <K,V>
Memoizer<K,V>DefaultCacheFactory. createCache(IComputable<K,V> computable)<K,V>
IComputable<K,V>ICacheFactory. createCache(IComputable<K,V> computable)Creates a new cache of the given type.IComputable<java.lang.Class<?>,java.util.List<?>>ICacheFactory. createEnumCache(IComputable<java.lang.Class<?>,java.util.List<?>> computable)IComputable<java.lang.String,IProductComponent>ICacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)IComputable<GenerationId,IProductComponentGeneration>ICacheFactory. createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable)IComputable<java.lang.String,ITable<?>>ICacheFactory. createTableCache(IComputable<java.lang.String,ITable<?>> computable)Constructors in org.faktorips.runtime with parameters of type IComputable Constructor Description SimpleCache(IComputable<java.lang.Object,java.lang.Object> computable)SimpleCache(IComputable<java.lang.Object,java.lang.Object> computable, int initialCapacity) -
Uses of IComputable in org.faktorips.runtime.caching
Classes in org.faktorips.runtime.caching that implement IComputable Modifier and Type Class Description classAbstractComputable<K,V>Basic implementation ofIComputable, taking the value class as a parameter.classMemoizer<K,V>This Memoizer is implemented as suggested by Brian Goetz in Java Concurrency in Practice.Methods in org.faktorips.runtime.caching that return IComputable Modifier and Type Method Description static <K,V>
IComputable<K,V>IComputable. of(java.lang.Class<? super V> valueClass, java.util.function.Function<K,V> function)Creates a newIComputablefor the given value class using the givenFunctionto compute the values from keys.Constructors in org.faktorips.runtime.caching with parameters of type IComputable Constructor Description Memoizer(IComputable<K,V> computable)The constructor to create aMemoizerwith default values for the internalConcurrentHashMapMemoizer(IComputable<K,V> computable, int initSize, float loadFactor, int concurrencyLevel)This constructor needs next to theIComputablealso the initial size, the load factor and the concurrency level. -
Uses of IComputable in org.faktorips.runtime.internal
Methods in org.faktorips.runtime.internal that return IComputable Modifier and Type Method Description IComputable<java.lang.Class<?>,java.util.List<?>>AbstractCacheFactory. createEnumCache(IComputable<java.lang.Class<?>,java.util.List<?>> computable)IComputable<java.lang.String,IProductComponent>AbstractCacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)IComputable<GenerationId,IProductComponentGeneration>AbstractCacheFactory. createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable)IComputable<java.lang.String,ITable<?>>AbstractCacheFactory. createTableCache(IComputable<java.lang.String,ITable<?>> computable)Methods in org.faktorips.runtime.internal with parameters of type IComputable Modifier and Type Method Description IComputable<java.lang.Class<?>,java.util.List<?>>AbstractCacheFactory. createEnumCache(IComputable<java.lang.Class<?>,java.util.List<?>> computable)IComputable<java.lang.String,IProductComponent>AbstractCacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)IComputable<GenerationId,IProductComponentGeneration>AbstractCacheFactory. createProductCmptGenerationCache(IComputable<GenerationId,IProductComponentGeneration> computable)IComputable<java.lang.String,ITable<?>>AbstractCacheFactory. createTableCache(IComputable<java.lang.String,ITable<?>> computable)
-