public class GridRedisExistsCommandHandler extends GridRedisRestCommandHandler
ctx, hnd, log| Constructor and Description |
|---|
GridRedisExistsCommandHandler(IgniteLogger log,
GridRestProtocolHandler hnd,
GridKernalContext ctx)
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 GridRedisExistsCommandHandler(IgniteLogger log, GridRestProtocolHandler hnd, GridKernalContext ctx)
log - Logger to use.hnd - Rest handler.ctx - Kernal context.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 Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021