com.espertech.esper.epl.db
Class DataCacheFactory

java.lang.Object
  extended by com.espertech.esper.epl.db.DataCacheFactory

public class DataCacheFactory
extends Object

Factory for data caches for use caching database query results and method invocation results.


Constructor Summary
DataCacheFactory()
           
 
Method Summary
static DataCache getDataCache(ConfigurationDataCache cacheDesc, EPStatementHandle epStatementHandle, SchedulingService schedulingService, ScheduleBucket scheduleBucket)
          Creates a cache implementation for the strategy as defined by the cache descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataCacheFactory

public DataCacheFactory()
Method Detail

getDataCache

public static DataCache getDataCache(ConfigurationDataCache cacheDesc,
                                     EPStatementHandle epStatementHandle,
                                     SchedulingService schedulingService,
                                     ScheduleBucket scheduleBucket)
Creates a cache implementation for the strategy as defined by the cache descriptor.

Parameters:
cacheDesc - cache descriptor
epStatementHandle - statement handle for timer invocations
schedulingService - scheduling service for time-based caches
scheduleBucket - for ordered timer invokation
Returns:
data cache implementation

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com