Class SourceItemTransformerWithCache

java.lang.Object
net.sf.basedb.util.listable.SourceItemTransformerWithCache
All Implemented Interfaces:
SourceItemTransformerFactory

public class SourceItemTransformerWithCache
extends Object
implements SourceItemTransformerFactory
This is a wrapper transformer factory that can be applied to any other factory in order to provide support for caching. The cache holds the result from SourceItemTransformer.transform(TransformContext, Set) so that if the same set of source ids are provided it will pick the cache result if available and only forward to the wrapped factory in case no old result exists or if it is too old.
Since:
3.16
Author:
Nicklas