コード例 #1
0
 public LuceneIndexProviderAnonymousInnerClass(LuceneSchemaIndexCorruptionTest outerInstance, EphemeralFileSystemAbstraction fs, DirectoryFactory directoryFactory, UnknownType defaultDirectoryStructure, IndexProvider.Monitor monitor, Config defaults, long faultyIndexId, Exception error, AtomicReference <FaultyIndexStorageFactory> reference) : base(fs, directoryFactory, defaultDirectoryStructure, monitor, defaults, OperationalMode.single)
 {
     this.outerInstance     = outerInstance;
     this._faultyIndexId    = faultyIndexId;
     this._error            = error;
     this._directoryFactory = directoryFactory;
     this._reference        = reference;
 }
コード例 #2
0
 internal FaultyIndexStorageFactory(LuceneSchemaIndexCorruptionTest outerInstance, long faultyIndexId, Exception error, DirectoryFactory directoryFactory, IndexDirectoryStructure directoryStructure) : base(directoryFactory, outerInstance.fs, directoryStructure)
 {
     this._outerInstance = outerInstance;
     this.FaultyIndexId  = faultyIndexId;
     this.Error          = error;
 }