Class TransportHotToWarmTieringAction
java.lang.Object
org.opensearch.action.support.TransportAction<TieringIndexRequest,HotToWarmTieringResponse>
org.opensearch.action.support.HandledTransportAction<TieringIndexRequest,HotToWarmTieringResponse>
org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction<TieringIndexRequest,HotToWarmTieringResponse>
org.opensearch.action.admin.indices.tiering.TransportHotToWarmTieringAction
@ExperimentalApi
public class TransportHotToWarmTieringAction
extends TransportClusterManagerNodeAction<TieringIndexRequest,HotToWarmTieringResponse>
Transport Tiering action to move indices from hot to warm
- Opensearch.experimental:
-
Field Summary
Fields inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.opensearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorDescriptionTransportHotToWarmTieringAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, ClusterInfoService clusterInfoService, Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(TieringIndexRequest request, ClusterState state) protected void
clusterManagerOperation
(TieringIndexRequest request, ClusterState state, org.opensearch.core.action.ActionListener<HotToWarmTieringResponse> listener) protected String
executor()
protected HotToWarmTieringResponse
read
(org.opensearch.core.common.io.stream.StreamInput in) Methods inherited from class org.opensearch.action.support.clustermanager.TransportClusterManagerNodeAction
clusterManagerOperation, doExecute, getClusterManagerActionName, getMasterActionName, localExecute, localExecuteSupportedByAction, masterOperation, masterOperation
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportHotToWarmTieringAction
@Inject public TransportHotToWarmTieringAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, ClusterInfoService clusterInfoService, Settings settings)
-
-
Method Details
-
executor
- Specified by:
executor
in classTransportClusterManagerNodeAction<TieringIndexRequest,
HotToWarmTieringResponse>
-
read
protected HotToWarmTieringResponse read(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Specified by:
read
in classTransportClusterManagerNodeAction<TieringIndexRequest,
HotToWarmTieringResponse> - Throws:
IOException
-
checkBlock
- Specified by:
checkBlock
in classTransportClusterManagerNodeAction<TieringIndexRequest,
HotToWarmTieringResponse>
-
clusterManagerOperation
protected void clusterManagerOperation(TieringIndexRequest request, ClusterState state, org.opensearch.core.action.ActionListener<HotToWarmTieringResponse> listener) throws Exception - Overrides:
clusterManagerOperation
in classTransportClusterManagerNodeAction<TieringIndexRequest,
HotToWarmTieringResponse> - Throws:
Exception
-