java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.replication.TransportIndicesReplicationOperationAction<Request,Response,IndexRequest,IndexResponse,ShardRequest,ShardResponse>
- All Implemented Interfaces:
- Action<Request,Response>
- Direct Known Subclasses:
- TransportDeleteByQueryAction, TransportReplicationPingAction
public abstract class TransportIndicesReplicationOperationAction<Request extends IndicesReplicationOperationRequest,Response extends ActionResponse,IndexRequest extends IndexReplicationOperationRequest,IndexResponse extends ActionResponse,ShardRequest extends ShardReplicationOperationRequest,ShardResponse extends ActionResponse>
- extends BaseAction<Request,Response>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadPool
protected final ThreadPool threadPool
clusterService
protected final ClusterService clusterService
indexAction
protected final TransportIndexReplicationOperationAction<IndexRequest extends IndexReplicationOperationRequest,IndexResponse extends ActionResponse,ShardRequest extends ShardReplicationOperationRequest,ShardResponse extends ActionResponse> indexAction
TransportIndicesReplicationOperationAction
@Inject
public TransportIndicesReplicationOperationAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
TransportIndexReplicationOperationAction<IndexRequest,IndexResponse,ShardRequest,ShardResponse> indexAction)
doExecute
protected void doExecute(Request request,
ActionListener<Response> listener)
- Specified by:
doExecute
in class BaseAction<Request extends IndicesReplicationOperationRequest,Response extends ActionResponse>
newRequestInstance
protected abstract Request newRequestInstance()
newResponseInstance
protected abstract Response newResponseInstance(Request request,
java.util.concurrent.atomic.AtomicReferenceArray indexResponses)
transportAction
protected abstract java.lang.String transportAction()
newIndexRequestInstance
protected abstract IndexRequest newIndexRequestInstance(Request request,
java.lang.String index)
accumulateExceptions
protected abstract boolean accumulateExceptions()
checkBlock
protected void checkBlock(Request request,
ClusterState state)