Module org.elasticsearch.server
Class TransportGetAllocationStatsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<TransportGetAllocationStatsAction.Request,TransportGetAllocationStatsAction.Response>
org.elasticsearch.action.support.HandledTransportAction<TransportGetAllocationStatsAction.Request,TransportGetAllocationStatsAction.Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<TransportGetAllocationStatsAction.Request,TransportGetAllocationStatsAction.Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<TransportGetAllocationStatsAction.Request,TransportGetAllocationStatsAction.Response>
org.elasticsearch.action.admin.cluster.allocation.TransportGetAllocationStatsAction
- All Implemented Interfaces:
ActionWithReservedState<TransportGetAllocationStatsAction.Request>
public class TransportGetAllocationStatsAction
extends TransportMasterNodeReadAction<TransportGetAllocationStatsAction.Request,TransportGetAllocationStatsAction.Response>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimeValuestatic final ActionType<TransportGetAllocationStatsAction.Response> Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetAllocationStatsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, AllocationStatsService allocationStatsService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(TransportGetAllocationStatsAction.Request request, ClusterState state) protected voiddoExecute(Task task, TransportGetAllocationStatsAction.Request request, ActionListener<TransportGetAllocationStatsAction.Response> listener) protected voidmasterOperation(Task task, TransportGetAllocationStatsAction.Request request, ClusterState state, ActionListener<TransportGetAllocationStatsAction.Response> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
TYPE
-
DEFAULT_CACHE_TTL
-
CACHE_TTL_SETTING
-
-
Constructor Details
-
TransportGetAllocationStatsAction
@Inject public TransportGetAllocationStatsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, AllocationStatsService allocationStatsService)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, TransportGetAllocationStatsAction.Request request, ActionListener<TransportGetAllocationStatsAction.Response> listener) -
masterOperation
protected void masterOperation(Task task, TransportGetAllocationStatsAction.Request request, ClusterState state, ActionListener<TransportGetAllocationStatsAction.Response> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<TransportGetAllocationStatsAction.Request,TransportGetAllocationStatsAction.Response> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(TransportGetAllocationStatsAction.Request request, ClusterState state)
-