Uses of Class
org.apache.lucene.replicator.nrt.CopyJob
-
Uses of CopyJob in org.apache.lucene.replicator.nrt
Fields in org.apache.lucene.replicator.nrt declared as CopyJobModifier and TypeFieldDescriptionprotected 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 CopyJobMethods in org.apache.lucene.replicator.nrt that return CopyJobModifier and TypeMethodDescriptionprotected 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.ReplicaNode.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 CopyJobModifier and TypeMethodDescriptionabstract booleanReturn 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 voidRuns this job async'dvoidvoidCopyJob.transferAndCancel(CopyJob prevJob) Transfers whatever tmp files were already copied in this previous job and cancels the previous job