Uses of Class
org.apache.lucene.replicator.nrt.CopyJob
-
Packages that use CopyJob Package Description org.apache.lucene.replicator.nrt Near-real-time replication framework -
-
Uses of CopyJob in org.apache.lucene.replicator.nrt
Fields in org.apache.lucene.replicator.nrt declared as CopyJob Modifier and Type Field Description protected CopyJobReplicaNode. curNRTCopyNon-null when we are currently copying files from a new NRT point:Fields in org.apache.lucene.replicator.nrt with type parameters of type CopyJob Modifier and Type Field Description protected Set<CopyJob>ReplicaNode. mergeCopyJobsCurrently running merge pre-copy jobsMethods in org.apache.lucene.replicator.nrt that return CopyJob Modifier and Type Method Description protected 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.CopyJobReplicaNode. newNRTPoint(long newPrimaryGen, long version)Call this to notify this replica node that a new NRT infos is available on the primary.Methods in org.apache.lucene.replicator.nrt with parameters of type CopyJob Modifier and Type Method Description abstract booleanCopyJob. conflicts(CopyJob other)Return true if this job is trying to copy any of the same files as the other jobprotected voidReplicaNode. finishNRTCopy(CopyJob job, long startNS)protected abstract voidReplicaNode. launch(CopyJob job)Runs this job async'dvoidCopyJob.OnceDone. run(CopyJob job)voidCopyJob. transferAndCancel(CopyJob prevJob)Transfers whatever tmp files were already copied in this previous job and cancels the previous job
-