Package com.dehnes.kotlinredis.core
Class RedisRequest
-
- All Implemented Interfaces:
public final class RedisRequest
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringcommandprivate final List<StreamWithLength>argsprivate final Function1<RedisResponse, Unit>onResponse
-
Constructor Summary
Constructors Constructor Description RedisRequest(String command, List<StreamWithLength> args, Function1<RedisResponse, Unit> onResponse)
-
Method Summary
Modifier and Type Method Description final StringgetCommand()final List<StreamWithLength>getArgs()final Function1<RedisResponse, Unit>getOnResponse()-
-
Constructor Detail
-
RedisRequest
RedisRequest(String command, List<StreamWithLength> args, Function1<RedisResponse, Unit> onResponse)
-
-
Method Detail
-
getCommand
final String getCommand()
-
getArgs
final List<StreamWithLength> getArgs()
-
getOnResponse
final Function1<RedisResponse, Unit> getOnResponse()
-
-
-
-