org.elasticsearch.action.support.single
Class TransportSingleOperationAction<Request extends SingleOperationRequest,Response extends ActionResponse>
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.single.TransportSingleOperationAction<Request,Response>
- All Implemented Interfaces:
- Action<Request,Response>
- Direct Known Subclasses:
- TransportGetAction, TransportSinglePingAction
public abstract class TransportSingleOperationAction<Request extends SingleOperationRequest,Response extends ActionResponse>
- extends BaseAction<Request,Response>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clusterService
protected final ClusterService clusterService
transportService
protected final TransportService transportService
indicesService
protected final IndicesService indicesService
threadPool
protected final ThreadPool threadPool
TransportSingleOperationAction
protected TransportSingleOperationAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService)
doExecute
protected void doExecute(Request request,
ActionListener<Response> listener)
- Specified by:
doExecute
in class BaseAction<Request extends SingleOperationRequest,Response extends ActionResponse>
transportAction
protected abstract java.lang.String transportAction()
transportShardAction
protected abstract java.lang.String transportShardAction()
shardOperation
protected abstract Response shardOperation(Request request,
int shardId)
throws ElasticSearchException
- Throws:
ElasticSearchException
newRequest
protected abstract Request newRequest()
newResponse
protected abstract Response newResponse()
checkBlock
protected void checkBlock(Request request,
ClusterState state)