org.elasticsearch.action.delete.index
Class TransportIndexDeleteAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.replication.TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
org.elasticsearch.action.delete.index.TransportIndexDeleteAction
public class TransportIndexDeleteAction
- extends TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportIndexDeleteAction
@Inject
public TransportIndexDeleteAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
ThreadPool threadPool,
TransportShardDeleteAction deleteAction)
newRequestInstance
protected IndexDeleteRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
newResponseInstance
protected IndexDeleteResponse newResponseInstance(IndexDeleteRequest request,
AtomicReferenceArray shardsResponses)
- Specified by:
newResponseInstance
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
accumulateExceptions
protected boolean accumulateExceptions()
- Specified by:
accumulateExceptions
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
transportAction
protected String transportAction()
- Specified by:
transportAction
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
checkGlobalBlock
protected ClusterBlockException checkGlobalBlock(ClusterState state,
IndexDeleteRequest request)
- Specified by:
checkGlobalBlock
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state,
IndexDeleteRequest request)
- Specified by:
checkRequestBlock
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
shards
protected GroupShardsIterator shards(IndexDeleteRequest request)
- Specified by:
shards
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
newShardRequestInstance
protected ShardDeleteRequest newShardRequestInstance(IndexDeleteRequest request,
int shardId)
- Specified by:
newShardRequestInstance
in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteRequest,ShardDeleteResponse>
Copyright © 2009-2012. All Rights Reserved.