public class TransportShrinkAction extends TransportMasterNodeAction<ShrinkRequest,ShrinkResponse>
clusterService, transportService
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportShrinkAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataCreateIndexService createIndexService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
Client client) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkBlock(ShrinkRequest request,
ClusterState state) |
protected java.lang.String |
executor() |
protected void |
masterOperation(ShrinkRequest shrinkRequest,
ClusterState state,
ActionListener<ShrinkResponse> listener) |
protected ShrinkResponse |
newResponse() |
doExecute, doExecute, localExecute, masterOperation
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportShrinkAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataCreateIndexService createIndexService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Client client)
protected java.lang.String executor()
executor
in class TransportMasterNodeAction<ShrinkRequest,ShrinkResponse>
protected ShrinkResponse newResponse()
newResponse
in class TransportMasterNodeAction<ShrinkRequest,ShrinkResponse>
protected ClusterBlockException checkBlock(ShrinkRequest request, ClusterState state)
checkBlock
in class TransportMasterNodeAction<ShrinkRequest,ShrinkResponse>
protected void masterOperation(ShrinkRequest shrinkRequest, ClusterState state, ActionListener<ShrinkResponse> listener)
masterOperation
in class TransportMasterNodeAction<ShrinkRequest,ShrinkResponse>