18 using System.Collections.Generic;
 
   21 namespace Deveel.Data.Index {
 
   31             this.indexSetStore = indexSetStore;
 
   43         public IEnumerable<StoreIndex> AllIndices {
 
   48                 return indexes.ToArray();
 
   56             GC.SuppressFinalize(
this);
 
   63                         if (indexes != null) {
 
   64                             foreach (var index 
in indexes) {
 
   70                         foreach (var block 
in IndexBlocks) {
 
   71                             block.RemoveReference();
 
   86             if (indexes == null) {
 
   87                 indexes = 
new List<StoreIndex>();
 
   90                 foreach (var index 
in indexes) {
 
   91                     if (index.IndexNumber == offset)
 
   97                 var index = (
StoreIndex) IndexBlocks[offset].CreateIndex();
 
  100             } 
catch (IOException e) {
 
  101                 throw new Exception(
"IO Error: " + e.Message, e);
 
SnapshotIndexSet(IndexSetStore indexSetStore, IndexBlock[] blocks)
List< StoreIndex > indexes
IIndex GetIndex(int offset)
Gets a mutable implementation of IIndex for the given index number in this set of indices...
An object that access to a set of indexes. 
An interface for querying and accessing an index of primitive integers. 
readonly IndexSetStore indexSetStore
void Dispose(bool disposing)