Пример #1
0
 internal FailedIndexProxy(CapableIndexDescriptor capableIndexDescriptor, string indexUserDescription, IndexPopulator populator, IndexPopulationFailure populationFailure, IndexCountsRemover indexCountsRemover, LogProvider logProvider) : base(capableIndexDescriptor, populationFailure)
 {
     this.Populator             = populator;
     this._indexUserDescription = indexUserDescription;
     this._indexCountsRemover   = indexCountsRemover;
     this._log = logProvider.getLog(this.GetType());
 }
 internal FailedPopulatingIndexProxyFactory(CapableIndexDescriptor capableIndexDescriptor, IndexPopulator populator, string indexUserDescription, IndexCountsRemover indexCountsRemover, LogProvider logProvider)
 {
     this._capableIndexDescriptor = capableIndexDescriptor;
     this._populator            = populator;
     this._indexUserDescription = indexUserDescription;
     this._indexCountsRemover   = indexCountsRemover;
     this._logProvider          = logProvider;
 }
Пример #3
0
 internal OnlineIndexProxy(CapableIndexDescriptor capableIndexDescriptor, IndexAccessor accessor, IndexStoreView storeView, bool forcedIdempotentMode)
 {
     Debug.Assert(accessor != null);
     this._indexId = capableIndexDescriptor.Id;
     this._capableIndexDescriptor = capableIndexDescriptor;
     this.Accessor              = accessor;
     this._storeView            = storeView;
     this._forcedIdempotentMode = forcedIdempotentMode;
     this._indexCountsRemover   = new IndexCountsRemover(storeView, _indexId);
 }
Пример #4
0
            internal IndexPopulation(MultipleIndexPopulator outerInstance, IndexPopulator populator, CapableIndexDescriptor capableIndexDescriptor, FlippableIndexProxy flipper, FailedIndexProxyFactory failedIndexProxyFactory, string indexUserDescription)
            {
                this._outerInstance         = outerInstance;
                this.Populator              = populator;
                this.CapableIndexDescriptor = capableIndexDescriptor;
                this.IndexId = capableIndexDescriptor.Id;
                this.Flipper = flipper;
                this.FailedIndexProxyFactory = failedIndexProxyFactory;
                this.IndexUserDescription    = indexUserDescription;
                this.IndexCountsRemover      = new IndexCountsRemover(outerInstance.storeView, IndexId);
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: this.batchedUpdates = new java.util.ArrayList<>(BATCH_SIZE);
                this.BatchedUpdates = new List <IndexEntryUpdate <object> >(outerInstance.BatchSize);
            }