public class GridRedisSetRangeCommandHandler extends GridRedisRestCommandHandler
CACHE_NAME, hnd, log| Constructor and Description |
|---|
GridRedisSetRangeCommandHandler(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() |
handleAsync, longValuepublic GridRedisSetRangeCommandHandler(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. 2.0.0 Release Date : April 30 2017