Class GridTaskCommandHandler
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.handlers.GridRestCommandHandlerAdapter
-
- org.apache.ignite.internal.processors.rest.handlers.task.GridTaskCommandHandler
-
- All Implemented Interfaces:
GridRestCommandHandler
public class GridTaskCommandHandler extends GridRestCommandHandlerAdapter
Command handler for API requests.
-
-
Field Summary
Fields Modifier and Type Field Description static intDFLT_MAX_TASK_RESULTSDefault maximum number of task results.-
Fields inherited from class org.apache.ignite.internal.processors.rest.handlers.GridRestCommandHandlerAdapter
ctx, log
-
-
Constructor Summary
Constructors Constructor Description GridTaskCommandHandler(GridKernalContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IgniteInternalFuture<GridRestResponse>handleAsync(GridRestRequest req)Collection<GridRestCommand>supportedCommands()StringtoString()-
Methods inherited from class org.apache.ignite.internal.processors.rest.handlers.GridRestCommandHandlerAdapter
missingParameter
-
-
-
-
Field Detail
-
DFLT_MAX_TASK_RESULTS
public static final int DFLT_MAX_TASK_RESULTS
Default maximum number of task results.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GridTaskCommandHandler
public GridTaskCommandHandler(GridKernalContext ctx)
- Parameters:
ctx- Context.
-
-
Method Detail
-
supportedCommands
public Collection<GridRestCommand> supportedCommands()
- Returns:
- Collection of supported commands.
-
handleAsync
public IgniteInternalFuture<GridRestResponse> handleAsync(GridRestRequest req)
- Parameters:
req- Request.- Returns:
- Future.
-
-