Class RedissonReactiveScriptingCommands
- java.lang.Object
-
- org.redisson.spring.data.connection.RedissonReactiveScriptingCommands
-
- All Implemented Interfaces:
org.springframework.data.redis.connection.ReactiveScriptingCommands
public class RedissonReactiveScriptingCommands extends Object implements org.springframework.data.redis.connection.ReactiveScriptingCommands
- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> reactor.core.publisher.Flux<T>convert(reactor.core.publisher.Mono<T> m)<T> reactor.core.publisher.Flux<T>eval(ByteBuffer script, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, ByteBuffer... keysAndArgs)<T> reactor.core.publisher.Flux<T>evalSha(String scriptSha, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, ByteBuffer... keysAndArgs)reactor.core.publisher.Flux<Boolean>scriptExists(List<String> scriptShas)reactor.core.publisher.Mono<String>scriptFlush()reactor.core.publisher.Mono<String>scriptKill()reactor.core.publisher.Mono<String>scriptLoad(ByteBuffer script)static byte[]toByteArray(ByteBuffer buffer)protected RedisCommand<?>toCommand(org.springframework.data.redis.connection.ReturnType returnType, String name)
-
-
-
Method Detail
-
scriptFlush
public reactor.core.publisher.Mono<String> scriptFlush()
- Specified by:
scriptFlushin interfaceorg.springframework.data.redis.connection.ReactiveScriptingCommands
-
scriptKill
public reactor.core.publisher.Mono<String> scriptKill()
- Specified by:
scriptKillin interfaceorg.springframework.data.redis.connection.ReactiveScriptingCommands
-
scriptLoad
public reactor.core.publisher.Mono<String> scriptLoad(ByteBuffer script)
- Specified by:
scriptLoadin interfaceorg.springframework.data.redis.connection.ReactiveScriptingCommands
-
scriptExists
public reactor.core.publisher.Flux<Boolean> scriptExists(List<String> scriptShas)
- Specified by:
scriptExistsin interfaceorg.springframework.data.redis.connection.ReactiveScriptingCommands
-
toCommand
protected RedisCommand<?> toCommand(org.springframework.data.redis.connection.ReturnType returnType, String name)
-
eval
public <T> reactor.core.publisher.Flux<T> eval(ByteBuffer script, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, ByteBuffer... keysAndArgs)
- Specified by:
evalin interfaceorg.springframework.data.redis.connection.ReactiveScriptingCommands
-
convert
protected <T> reactor.core.publisher.Flux<T> convert(reactor.core.publisher.Mono<T> m)
-
evalSha
public <T> reactor.core.publisher.Flux<T> evalSha(String scriptSha, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, ByteBuffer... keysAndArgs)
- Specified by:
evalShain interfaceorg.springframework.data.redis.connection.ReactiveScriptingCommands
-
toByteArray
public static byte[] toByteArray(ByteBuffer buffer)
-
-