public class TransportStartBlobAction extends org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>
org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnPrimaryException, org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException, org.elasticsearch.action.support.replication.TransportReplicationAction.WriteResult<T extends org.elasticsearch.action.ActionWriteResponse>
clusterService, defaultWriteConsistencyLevel, indicesService, mappingUpdatedAction, shardStateAction, transportOptions, transportService
Constructor and Description |
---|
TransportStartBlobAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.indices.IndicesService indicesService,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.action.shard.ShardStateAction shardStateAction,
BlobTransferTarget transferTarget,
org.elasticsearch.cluster.action.index.MappingUpdatedAction mappingUpdatedAction,
org.elasticsearch.action.support.ActionFilters actionFilters,
org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkWriteConsistency() |
protected StartBlobResponse |
newResponseInstance() |
protected boolean |
resolveIndex() |
protected void |
resolveRequest(org.elasticsearch.cluster.metadata.MetaData metaData,
java.lang.String concreteIndex,
StartBlobRequest request) |
protected org.elasticsearch.common.collect.Tuple<StartBlobResponse,StartBlobRequest> |
shardOperationOnPrimary(org.elasticsearch.cluster.metadata.MetaData metaData,
StartBlobRequest request) |
protected void |
shardOperationOnReplica(StartBlobRequest request) |
doExecute, doExecute, getIndexShardOperationsCounter, globalBlockLevel, ignoreReplicaException, indexBlockLevel, isConflictException, processAfterWrite, retryPrimaryException, shouldExecuteReplication, transportOptions
execute, execute, execute, execute
@Inject public TransportStartBlobAction(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.cluster.ClusterService clusterService, org.elasticsearch.indices.IndicesService indicesService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.action.shard.ShardStateAction shardStateAction, BlobTransferTarget transferTarget, org.elasticsearch.cluster.action.index.MappingUpdatedAction mappingUpdatedAction, org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver)
protected StartBlobResponse newResponseInstance()
newResponseInstance
in class org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>
protected org.elasticsearch.common.collect.Tuple<StartBlobResponse,StartBlobRequest> shardOperationOnPrimary(org.elasticsearch.cluster.metadata.MetaData metaData, StartBlobRequest request) throws java.lang.Throwable
shardOperationOnPrimary
in class org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>
java.lang.Throwable
protected void shardOperationOnReplica(StartBlobRequest request)
shardOperationOnReplica
in class org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>
protected void resolveRequest(org.elasticsearch.cluster.metadata.MetaData metaData, java.lang.String concreteIndex, StartBlobRequest request)
resolveRequest
in class org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>
protected boolean checkWriteConsistency()
checkWriteConsistency
in class org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>
protected boolean resolveIndex()
resolveIndex
in class org.elasticsearch.action.support.replication.TransportReplicationAction<StartBlobRequest,StartBlobRequest,StartBlobResponse>