public IndexInputSlicerAnonymousInnerClassHelper(NIOFSDirectory outerInstance, IOContext context, FileInfo path, FileStream descriptor) : base(outerInstance) { this.context = context; this.path = path; this.descriptor = descriptor; }
public IndexInputSlicerAnonymousInnerClassHelper(NIOFSDirectory outerInstance, Lucene.Net.Store.IOContext context, FileInfo path, FileStream descriptor) : base(outerInstance) { this.OuterInstance = outerInstance; this.Context = context; this.Path = path; this.Descriptor = descriptor; }
public virtual void TestDefaultFSLockFactoryPrefix() { // Make sure we get null prefix, which wont happen if setLockFactory is ever called. DirectoryInfo dirName = CreateTempDir("TestLockFactory.10"); Directory dir = new SimpleFSDirectory(dirName); Assert.IsNull(dir.LockFactory.LockPrefix, "Default lock prefix should be null"); dir.Dispose(); dir = new MMapDirectory(dirName); Assert.IsNull(dir.LockFactory.LockPrefix, "Default lock prefix should be null"); dir.Dispose(); dir = new NIOFSDirectory(dirName); Assert.IsNull(dir.LockFactory.LockPrefix, "Default lock prefix should be null"); dir.Dispose(); System.IO.Directory.Delete(dirName.FullName, true); }
public virtual void TestDefaultFSLockFactoryPrefix() { // Make sure we get null prefix, which wont happen if setLockFactory is ever called. DirectoryInfo dirName = CreateTempDir("TestLockFactory.10"); Directory dir = new SimpleFSDirectory(dirName); Assert.IsNull(dir.LockFactory.LockPrefix, "Default lock prefix should be null"); dir.Dispose(); dir = new MMapDirectory(dirName); Assert.IsNull(dir.LockFactory.LockPrefix, "Default lock prefix should be null"); dir.Dispose(); dir = new NIOFSDirectory(dirName); Assert.IsNull(dir.LockFactory.LockPrefix, "Default lock prefix should be null"); dir.Dispose(); System.IO.Directory.Delete(dirName.FullName, true); }
public IndexInputSlicerAnonymousInnerClassHelper(NIOFSDirectory outerInstance, Lucene.Net.Store.IOContext context, FileInfo path, FileStream descriptor) : base(outerInstance) { this.OuterInstance = outerInstance; this.Context = context; this.Path = path; this.Descriptor = descriptor; }