Searched defs:fileLength (Results 1 - 14 of 14) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DFileSwitchDirectory.java159 public long fileLength(String name) throws IOException { method in class:FileSwitchDirectory
160 return getDirectory(name).fileLength(name);
H A DRAMDirectory.java175 public final long fileLength(String name) throws IOException { method in class:RAMDirectory
H A DDirectory.java96 public abstract long fileLength(String name) throws IOException; method in class:Directory
H A DNRTCachingDirectory.java207 public synchronized long fileLength(String name) throws IOException { method in class:NRTCachingDirectory
209 return cache.fileLength(name);
211 return delegate.fileLength(name);
H A DFSDirectory.java279 public long fileLength(String name) throws IOException { method in class:FSDirectory
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestCrashCausesCorruptIndex.java223 public long fileLength(String name) throws IOException { method in class:TestCrashCausesCorruptIndex.CrashAfterCreateOutput
224 return realDirectory.fileLength(name);
H A DTestFieldsReader.java431 public long fileLength(String name) throws IOException { method in class:TestFieldsReader.FaultyFSDirectory
432 return fsDir.fileLength(name);
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DDirectIOLinuxDirectory.java95 private long fileLength; field in class:DirectIOLinuxDirectory.DirectIOLinuxIndexOutput
151 if (limit > fileLength) {
153 fileLength = limit;
203 return fileLength;
214 //System.out.println("direct close set len=" + fileLength + " vs " + channel.size() + " path=" + path);
215 channel.truncate(fileLength);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DCompoundFileReader.java212 public long fileLength(String name) throws IOException { method in class:CompoundFileReader
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestBufferedIndexInput.java376 public long fileLength(String name) throws IOException { method in class:TestBufferedIndexInput.MockFSDirectory
377 return dir.fileLength(name);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestFieldsReader.java430 public long fileLength(String name) throws IOException { method in class:TestFieldsReader.FaultyFSDirectory
431 return fsDir.fileLength(name);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestBufferedIndexInput.java376 public long fileLength(String name) throws IOException { method in class:TestBufferedIndexInput.MockFSDirectory
377 return dir.fileLength(name);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java192 size += delegate.fileLength(file);
224 long length = fileLength(name);
734 public synchronized long fileLength(String name) throws IOException { method in class:MockDirectoryWrapper
736 return delegate.fileLength(name);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java186 size += delegate.fileLength(file);
215 long length = fileLength(name);
228 out.setLength(fileLength(name)/2);
635 public synchronized long fileLength(String name) throws IOException { method in class:MockDirectoryWrapper
637 return delegate.fileLength(name);

Completed in 1477 milliseconds