Class ReplicationSplitHelper<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse>

java.lang.Object
org.elasticsearch.action.support.replication.ReplicationSplitHelper<Request,ReplicaRequest,Response>

public class ReplicationSplitHelper<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse> extends Object
This class implements the coordination logic during a split. If documents are only routed to the source then it will be a normal primary action. If documents are only routed to the target it will be delegated to the target. If documents are routed to both then the request will be split into two and executed locally and delegated to the target.