public HybirdCache(string host, long?capacity, int expiration = 60) { _remote = new RemoteCache(host); _local = new LightCache(capacity, expiration); Subscribe(); }
public QueryCache() { _parsedObjects = new LightCache <string, TDqlObject>(); }
public QueryCache(int size, int evictionPercentage) { _parsedObjects = new LightCache <string, TDqlObject>(size, evictionPercentage); }
public CostBasedOptimizer(CollectionIndexManager indexManager) { _indexManager = indexManager; _predicateCache = new LightCache <ITreePredicate, IPredicate>(); }