예제 #1
0
 public LazyValue(long chunkKey, long chunkSize, long chunkVersion, RemoteChunksSeries <K, V> source)
 {
     _chunkKey     = chunkKey;
     _chunkSize    = chunkSize;
     _chunkVersion = chunkVersion;
     _source       = source;
     _wr           = new WeakReference <SortedMap <K, V> >(null);
 }
예제 #2
0
 public RemoteCursor(RemoteChunksSeries <K, V> source)
 {
     _source     = source;
     _keysCursor = source._chunksCache.Map(lv => lv.Value).GetCursor();
 }