org.elasticsearch.action.delete.index
Class TransportShardDeleteAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
org.elasticsearch.action.delete.index.TransportShardDeleteAction
public class TransportShardDeleteAction
- extends TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportShardDeleteAction
@Inject
public TransportShardDeleteAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
IndicesService indicesService,
ThreadPool threadPool,
ShardStateAction shardStateAction)
checkWriteConsistency
protected boolean checkWriteConsistency()
- Specified by:
checkWriteConsistency
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
newRequestInstance
protected ShardDeleteRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
newReplicaRequestInstance
protected ShardDeleteRequest newReplicaRequestInstance()
- Specified by:
newReplicaRequestInstance
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
newResponseInstance
protected ShardDeleteResponse newResponseInstance()
- Specified by:
newResponseInstance
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
transportAction
protected String transportAction()
- Specified by:
transportAction
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
executor
protected String executor()
- Specified by:
executor
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
checkGlobalBlock
protected ClusterBlockException checkGlobalBlock(ClusterState state,
ShardDeleteRequest request)
- Specified by:
checkGlobalBlock
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state,
ShardDeleteRequest request)
- Specified by:
checkRequestBlock
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
shardOperationOnPrimary
protected TransportShardReplicationOperationAction.PrimaryResponse<ShardDeleteResponse,ShardDeleteRequest> shardOperationOnPrimary(ClusterState clusterState,
TransportShardReplicationOperationAction.PrimaryOperationRequest shardRequest)
- Specified by:
shardOperationOnPrimary
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
shardOperationOnReplica
protected void shardOperationOnReplica(TransportShardReplicationOperationAction.ReplicaOperationRequest shardRequest)
- Specified by:
shardOperationOnReplica
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
shards
protected ShardIterator shards(ClusterState clusterState,
ShardDeleteRequest request)
- Specified by:
shards
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
Copyright © 2009-2012. All Rights Reserved.