Uses of Class
org.apache.lucene.replicator.nrt.CopyJob
-
Uses of CopyJob in org.apache.lucene.replicator.nrt
Modifier and TypeFieldDescriptionprotected CopyJob
ReplicaNode.curNRTCopy
Non-null when we are currently copying files from a new NRT point:Modifier and TypeMethodDescriptionprotected CopyJob
ReplicaNode.launchPreCopyMerge
(AtomicBoolean finished, long newPrimaryGen, Map<String, FileMetaData> files) protected abstract CopyJob
ReplicaNode.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.ReplicaNode.newNRTPoint
(long newPrimaryGen, long version) Call this to notify this replica node that a new NRT infos is available on the primary.Modifier and TypeMethodDescriptionabstract boolean
Return true if this job is trying to copy any of the same files as the other jobprotected void
ReplicaNode.finishNRTCopy
(CopyJob job, long startNS) protected abstract void
Runs this job async'dvoid
void
CopyJob.transferAndCancel
(CopyJob prevJob) Transfers whatever tmp files were already copied in this previous job and cancels the previous job