net.esper.eql.db
Class DataCacheFactory
java.lang.Object
net.esper.eql.db.DataCacheFactory
public class DataCacheFactory
- extends Object
Factory for data caches for use caching database query results and method invocation results.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataCacheFactory
public DataCacheFactory()
getDataCache
public static DataCache getDataCache(ConfigurationDBRef.DataCacheDesc cacheDesc,
EPStatementHandle epStatementHandle,
SchedulingService schedulingService,
ScheduleBucket scheduleBucket)
- Creates a cache implementation for the strategy as defined by the cache descriptor.
- Parameters:
cacheDesc
- cache descriptorepStatementHandle
- statement handle for timer invocationsschedulingService
- scheduling service for time-based cachesscheduleBucket
- for ordered timer invokation
- Returns:
- data cache implementation