org.elasticsearch.action.admin.indices.cache.clear
Class TransportClearIndicesCacheAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
org.elasticsearch.action.admin.indices.cache.clear.TransportClearIndicesCacheAction
- All Implemented Interfaces:
- Action<ClearIndicesCacheRequest,ClearIndicesCacheResponse>
public class TransportClearIndicesCacheAction
- extends TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
Indices clear cache action.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportClearIndicesCacheAction
@Inject
public TransportClearIndicesCacheAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService)
executor
protected java.lang.String executor()
- Specified by:
executor
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
transportShardAction
protected java.lang.String transportShardAction()
- Specified by:
transportShardAction
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
newRequest
protected ClearIndicesCacheRequest newRequest()
- Specified by:
newRequest
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
ignoreNonActiveExceptions
protected boolean ignoreNonActiveExceptions()
- Overrides:
ignoreNonActiveExceptions
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
newResponse
protected ClearIndicesCacheResponse newResponse(ClearIndicesCacheRequest request,
java.util.concurrent.atomic.AtomicReferenceArray shardsResponses,
ClusterState clusterState)
- Specified by:
newResponse
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
newShardRequest
protected org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest newShardRequest()
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
newShardRequest
protected org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest newShardRequest(ShardRouting shard,
ClearIndicesCacheRequest request)
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
newShardResponse
protected org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse newShardResponse()
- Specified by:
newShardResponse
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
shardOperation
protected org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse shardOperation(org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest request)
throws ElasticSearchException
- Specified by:
shardOperation
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>
- Throws:
ElasticSearchException
shards
protected GroupShardsIterator shards(ClearIndicesCacheRequest request,
ClusterState clusterState)
- The refresh request works against *all* shards.
- Specified by:
shards
in class TransportBroadcastOperationAction<ClearIndicesCacheRequest,ClearIndicesCacheResponse,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheRequest,org.elasticsearch.action.admin.indices.cache.clear.ShardClearIndicesCacheResponse>