public class TransportRefreshAction extends TransportBroadcastOperationAction<RefreshRequest ,RefreshResponse ,org .elasticsearch .action .admin .indices .refresh .ShardRefreshRequest ,org .elasticsearch .action .admin .indices .refresh .ShardRefreshResponse >
TransportBroadcastOperationAction.AsyncBroadcastAction clusterService, threadPool, transportServiceactionNamecomponentSettings, logger, settings| Constructor and Description |
|---|
TransportRefreshAction(Settings
|
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkGlobalBlock(ClusterState
|
protected ClusterBlockException |
checkRequestBlock(ClusterState
|
protected String |
executor()
|
protected RefreshRequest |
newRequest()
|
protected RefreshResponse |
newResponse(RefreshRequest
|
protected org |
newShardRequest()
|
protected org |
newShardRequest(int numShards, ShardRouting
|
protected org |
newShardResponse()
|
protected org |
shardOperation(org
|
protected GroupShardsIterator |
shards(ClusterState
The refresh request works against *all* shards.
|
doExecuteexecute, execute, forceThreadedListenernodeName@Inject public TransportRefreshAction(Settingssettings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ActionFilters actionFilters)
protected Stringexecutor()
protected RefreshRequestnewRequest()
protected RefreshResponsenewResponse(RefreshRequest request, AtomicReferenceArray shardsResponses, ClusterState clusterState)
protected org.elasticsearch .action .admin .indices .refresh .ShardRefreshRequest newShardRequest()
protected org.elasticsearch .action .admin .indices .refresh .ShardRefreshRequest newShardRequest(int numShards, ShardRouting shard, RefreshRequest request)
protected org.elasticsearch .action .admin .indices .refresh .ShardRefreshResponse newShardResponse()
protected org.elasticsearch .action .admin .indices .refresh .ShardRefreshResponse shardOperation(org .elasticsearch .action .admin .indices .refresh .ShardRefreshRequest request) throws ElasticsearchException
shardOperation in class
TransportBroadcastOperationAction<RefreshRequest,RefreshResponse,org.elasticsearch.action.admin.indices.refresh.ShardRefreshRequest,org.elasticsearch.action.admin.indices.refresh.ShardRefreshResponse>
ElasticsearchException
protected GroupShardsIteratorshards(ClusterState clusterState, RefreshRequest request, String [] concreteIndices)
protected ClusterBlockExceptioncheckGlobalBlock(ClusterState state, RefreshRequest request)
protected ClusterBlockExceptioncheckRequestBlock(ClusterState state, RefreshRequest countRequest, String [] concreteIndices)