public class SimpleCacheFactory<T extends RhythmSpecLayer> extends java.lang.Object implements RhythmSpecLayerFactory<T>
Constructor and Description |
---|
SimpleCacheFactory(RhythmSpecLayerFactory<T> decoratedFactory) |
Modifier and Type | Method and Description |
---|---|
T |
getForArguments(ArgumentsBundle argsBundle)
Returns layer for this configuration from cache, or creates a new one via decorated factory if not found in
cache
|
public SimpleCacheFactory(RhythmSpecLayerFactory<T> decoratedFactory)
public T getForArguments(ArgumentsBundle argsBundle)
getForArguments
in interface RhythmSpecLayerFactory<T extends RhythmSpecLayer>
argsBundle
- container with arguments for this layer