public void Initialize(EnumerationPointer pointer, IndexedLocalCache cache)
 {
     _cache = cache;
     _pointer = pointer;
     if (System.Configuration.ConfigurationSettings.AppSettings.Get("NCacheServer.EnumeratorChunkSize") != null)
         _chunkSize = Convert.ToInt32(System.Configuration.ConfigurationSettings.AppSettings.Get("NCacheServer.EnumeratorChunkSize"));
     _snapshot = CacheSnapshotPool.Instance.GetSnaphot(pointer.Id, cache);
 }
Ejemplo n.º 2
0
 internal EnumerationIndex(IndexedLocalCache cache)
 {
     _cache = cache;
 }