Class GridRedisConnectionCommandHandler
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.handlers.redis.GridRedisConnectionCommandHandler
-
- All Implemented Interfaces:
GridRedisCommandHandler
public class GridRedisConnectionCommandHandler extends Object implements GridRedisCommandHandler
Redis connection handler.
-
-
Constructor Summary
Constructors Constructor Description GridRedisConnectionCommandHandler(IgniteLogger log, GridRestProtocolHandler hnd, GridKernalContext ctx)Handler constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IgniteInternalFuture<GridRedisMessage>handleAsync(GridNioSession ses, GridRedisMessage msg)Collection<GridRedisCommand>supportedCommands()
-
-
-
Constructor Detail
-
GridRedisConnectionCommandHandler
public GridRedisConnectionCommandHandler(IgniteLogger log, GridRestProtocolHandler hnd, GridKernalContext ctx)
Handler constructor.- Parameters:
log- Logger to use.hnd- Rest handler.ctx- Context.
-
-
Method Detail
-
supportedCommands
public Collection<GridRedisCommand> supportedCommands()
- Specified by:
supportedCommandsin interfaceGridRedisCommandHandler- Returns:
- Collection of supported commands.
-
handleAsync
public IgniteInternalFuture<GridRedisMessage> handleAsync(GridNioSession ses, GridRedisMessage msg)
- Specified by:
handleAsyncin interfaceGridRedisCommandHandler- Parameters:
ses- Session.msg- Request message.- Returns:
- Future.
-
-