public class EternallyCachingSelectorFactory extends Object implements SelectorFactory
SelectorFactoryimplementation which indirects to a real implementation and caches its return values eternally. Do not use in situations where the set of input expressions can be unbounded (e.g. user-provided) as this will lead to unbounded cache growth.
A better implementation would use a LRU cache or similar, but I cbf.
|Constructor and Description|
Copyright © 2009-2013. All Rights Reserved.