Class 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 Detail

      • scriptFlush

        public reactor.core.publisher.Mono<String> scriptFlush()
        Specified by:
        scriptFlush in interface org.springframework.data.redis.connection.ReactiveScriptingCommands
      • scriptKill

        public reactor.core.publisher.Mono<String> scriptKill()
        Specified by:
        scriptKill in interface org.springframework.data.redis.connection.ReactiveScriptingCommands
      • scriptLoad

        public reactor.core.publisher.Mono<String> scriptLoad​(ByteBuffer script)
        Specified by:
        scriptLoad in interface org.springframework.data.redis.connection.ReactiveScriptingCommands
      • scriptExists

        public reactor.core.publisher.Flux<Boolean> scriptExists​(List<String> scriptShas)
        Specified by:
        scriptExists in interface org.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:
        eval in interface org.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:
        evalSha in interface org.springframework.data.redis.connection.ReactiveScriptingCommands
      • toByteArray

        public static byte[] toByteArray​(ByteBuffer buffer)