Beispiel #1
0
 /// <summary> Returns the time the index in the named directory was last modified.
 /// Do not use this to check whether the reader is still up-to-date, use
 /// {@link #IsCurrent()} instead.
 /// </summary>
 public static long LastModified(System.IO.FileInfo directory)
 {
     return(FSDirectory.FileModified(directory, IndexFileNames.SEGMENTS));
 }
 public override long FileModified(System.String name)
 {
     return(fsDir.FileModified(name));
 }
Beispiel #3
0
 public override System.Object DoBody(System.String segmentFileName)
 {
     return((long)FSDirectory.FileModified(fileDirectory, segmentFileName));
 }