public class GridRedisMGetCommandHandler extends GridRedisRestCommandHandler
hnd, log| Constructor and Description |
|---|
GridRedisMGetCommandHandler(IgniteLogger log,
GridRestProtocolHandler hnd)
Handler constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridRestRequest |
asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
ByteBuffer |
makeResponse(GridRestResponse restRes,
List<String> params)
Prepares a response according to the request.
|
Collection<GridRedisCommand> |
supportedCommands() |
handleAsyncpublic GridRedisMGetCommandHandler(IgniteLogger log, GridRestProtocolHandler hnd)
log - Logger to use.hnd - Rest handler.public Collection<GridRedisCommand> supportedCommands()
public GridRestRequest asRestRequest(GridRedisMessage msg) throws IgniteCheckedException
GridRedisMessage to GridRestRequest.asRestRequest in class GridRedisRestCommandHandlermsg - GridRedisMessageGridRestRequestIgniteCheckedException - If fails.public ByteBuffer makeResponse(GridRestResponse restRes, List<String> params)
makeResponse in class GridRedisRestCommandHandlerrestRes - REST response.params - Auxiliary parameters.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017