org.elasticsearch.action.admin.indices.segments
Class TransportIndicesSegmentsAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
org.elasticsearch.action.admin.indices.segments.TransportIndicesSegmentsAction
- All Implemented Interfaces:
- Action<IndicesSegmentsRequest,IndicesSegmentResponse>
public class TransportIndicesSegmentsAction
- extends TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportIndicesSegmentsAction
@Inject
public TransportIndicesSegmentsAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService)
executor
protected java.lang.String executor()
- Specified by:
executor
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
transportShardAction
protected java.lang.String transportShardAction()
- Specified by:
transportShardAction
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
newRequest
protected IndicesSegmentsRequest newRequest()
- Specified by:
newRequest
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
ignoreNonActiveExceptions
protected boolean ignoreNonActiveExceptions()
- Overrides:
ignoreNonActiveExceptions
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
shards
protected GroupShardsIterator shards(IndicesSegmentsRequest request,
java.lang.String[] concreteIndices,
ClusterState clusterState)
- Segments goes across *all* active shards.
- Specified by:
shards
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
newResponse
protected IndicesSegmentResponse newResponse(IndicesSegmentsRequest request,
java.util.concurrent.atomic.AtomicReferenceArray shardsResponses,
ClusterState clusterState)
- Specified by:
newResponse
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
newShardRequest
protected TransportIndicesSegmentsAction.IndexShardSegmentRequest newShardRequest()
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
newShardRequest
protected TransportIndicesSegmentsAction.IndexShardSegmentRequest newShardRequest(ShardRouting shard,
IndicesSegmentsRequest request)
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
newShardResponse
protected ShardSegments newShardResponse()
- Specified by:
newShardResponse
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
shardOperation
protected ShardSegments shardOperation(TransportIndicesSegmentsAction.IndexShardSegmentRequest request)
throws ElasticSearchException
- Specified by:
shardOperation
in class TransportBroadcastOperationAction<IndicesSegmentsRequest,IndicesSegmentResponse,TransportIndicesSegmentsAction.IndexShardSegmentRequest,ShardSegments>
- Throws:
ElasticSearchException