Class GridTopologyCommandHandler
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.handlers.GridRestCommandHandlerAdapter
-
- org.apache.ignite.internal.processors.rest.handlers.top.GridTopologyCommandHandler
-
- All Implemented Interfaces:
GridRestCommandHandler
public class GridTopologyCommandHandler extends GridRestCommandHandlerAdapter
Command handler for API requests.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.rest.handlers.GridRestCommandHandlerAdapter
ctx, log
-
-
Constructor Summary
Constructors Constructor Description GridTopologyCommandHandler(GridKernalContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridClientCacheBeancreateCacheBean(CacheConfiguration ccfg)Creates cache bean.IgniteInternalFuture<GridRestResponse>handleAsync(GridRestRequest req)Collection<GridRestCommand>supportedCommands()StringtoString()-
Methods inherited from class org.apache.ignite.internal.processors.rest.handlers.GridRestCommandHandlerAdapter
missingParameter
-
-
-
-
Constructor Detail
-
GridTopologyCommandHandler
public GridTopologyCommandHandler(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.
-
createCacheBean
public GridClientCacheBean createCacheBean(CacheConfiguration ccfg)
Creates cache bean.- Parameters:
ccfg- Cache configuration.- Returns:
- Cache bean.
-
-