Uses of Class
org.apache.lucene.replicator.nrt.FileMetaData
-
Packages that use FileMetaData Package Description org.apache.lucene.replicator.nrt Near-real-time replication framework -
-
Uses of FileMetaData in org.apache.lucene.replicator.nrt
Fields in org.apache.lucene.replicator.nrt declared as FileMetaData Modifier and Type Field Description FileMetaDataCopyOneFile. metaDataFields in org.apache.lucene.replicator.nrt with type parameters of type FileMetaData Modifier and Type Field Description protected Map<String,FileMetaData>CopyJob. filesMap<String,FileMetaData>CopyState. filesprotected Map<String,FileMetaData>Node. lastFileMetaDataFile metadata for last sync that succeeded; we use this as a cacheprotected List<Map.Entry<String,FileMetaData>>CopyJob. toCopyMethods in org.apache.lucene.replicator.nrt that return FileMetaData Modifier and Type Method Description FileMetaDataNode. readLocalFileMetaData(String fileName)Opens the specified file, reads its identifying information, including file length, full index header (includes the unique segment ID) and the full footer (includes checksum), and returns the resultingFileMetaData.Methods in org.apache.lucene.replicator.nrt that return types with arguments of type FileMetaData Modifier and Type Method Description List<Map.Entry<String,FileMetaData>>ReplicaNode. getFilesToCopy(Map<String,FileMetaData> files)Compares incoming per-file identity (id, checksum, header, footer) versus what we have locally and returns the subset of the incoming files that need copyingMethod parameters in org.apache.lucene.replicator.nrt with type arguments of type FileMetaData Modifier and Type Method Description List<Map.Entry<String,FileMetaData>>ReplicaNode. getFilesToCopy(Map<String,FileMetaData> files)Compares incoming per-file identity (id, checksum, header, footer) versus what we have locally and returns the subset of the incoming files that need copyingprotected CopyJobReplicaNode. launchPreCopyMerge(AtomicBoolean finished, long newPrimaryGen, Map<String,FileMetaData> files)protected abstract CopyJobReplicaNode. newCopyJob(String reason, Map<String,FileMetaData> files, Map<String,FileMetaData> prevFiles, boolean highPriority, CopyJob.OnceDone onceDone)Start a background copying job, to copy the specified files from the current primary node.protected abstract voidPrimaryNode. preCopyMergedSegmentFiles(SegmentCommitInfo info, Map<String,FileMetaData> files)Called when a merge has finished, but before IW switches to the merged segmentConstructors in org.apache.lucene.replicator.nrt with parameters of type FileMetaData Constructor Description CopyOneFile(DataInput in, ReplicaNode dest, String name, FileMetaData metaData, byte[] buffer)Constructor parameters in org.apache.lucene.replicator.nrt with type arguments of type FileMetaData Constructor Description CopyJob(String reason, Map<String,FileMetaData> files, ReplicaNode dest, boolean highPriority, CopyJob.OnceDone onceDone)CopyState(Map<String,FileMetaData> files, long version, long gen, byte[] infosBytes, Set<String> completedMergeFiles, long primaryGen, SegmentInfos infos)
-