Class RedissonBatchReactive

    • Method Detail

      • getStream

        public <K,​V>  name)
        Description copied from interface: RBatchReactive
        Returns stream instance by name

        Requires Redis 5.0.0 and higher.

        Specified by:
        getStream in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - of stream
        Returns:
        RStream object
      • getStream

        public <K,​V>  name,
                                                                Codec codec)
        Description copied from interface: RBatchReactive
        Returns stream instance by name using provided codec for entries.

        Requires Redis 5.0.0 and higher.

        Specified by:
        getStream in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of stream
        codec - - codec for entry
        Returns:
        RStream object
      • getBucket

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns object holder by name
        Specified by:
        getBucket in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        Bucket object
      • getHyperLogLog

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns HyperLogLog object by name
        Specified by:
        getHyperLogLog in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        HyperLogLog object
      • getList

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns list instance by name.
        Specified by:
        getList in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        List object
      • getMap

        public <K,​V>  name)
        Description copied from interface: RBatchReactive
        Returns map instance by name.
        Specified by:
        getMap in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        Map object
      • getMapCache

        public <K,​V>  name,
                                                                    Codec codec)
        Description copied from interface: RBatchReactive
        Returns map-based cache instance by name using provided codec for both cache keys and values. Supports entry eviction with a given TTL value.

        If eviction is not required then it's better to use regular map RBatchReactive.getMap(String, Codec).

        Specified by:
        getMapCache in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        codec - - codec for keys and values
        Returns:
        MapCache object
      • getMapCache

        public <K,​V>  name)
        Description copied from interface: RBatchReactive
        Returns map-based cache instance by name. Supports entry eviction with a given TTL value.

        If eviction is not required then it's better to use regular map RBatchReactive.getMap(String).

        Specified by:
        getMapCache in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        MapCache object
      • getSet

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns set instance by name.
        Specified by:
        getSet in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        Set object
      • getTopic

        public  name)
        Description copied from interface: RBatchReactive
        Returns topic instance by name.
        Specified by:
        getTopic in interface RBatchReactive
        Parameters:
        name - - name of object
        Returns:
        Topic object
      • getQueue

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns queue instance by name.
        Specified by:
        getQueue in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        Queue object
      • getBlockingQueue

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns blocking queue instance by name.
        Specified by:
        getBlockingQueue in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        BlockingQueue object
      • getDeque

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns deque instance by name.
        Specified by:
        getDeque in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        Deque object
      • getAtomicLong

        public  name)
        Description copied from interface: RBatchReactive
        Returns "atomic long" instance by name.
        Specified by:
        getAtomicLong in interface RBatchReactive
        Parameters:
        name - - name of object
        Returns:
        AtomicLong object
      • getSetCache

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns set-based cache instance by name. Uses map (value_hash, value) under the hood for minimal memory consumption. Supports value eviction with a given TTL value.

        If eviction is not required then it's better to use regular map RBatchReactive.getSet(String, Codec).

        Specified by:
        getSetCache in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        SetCache object
      • getSetCache

        public <V>  name,
                                                    Codec codec)
        Description copied from interface: RBatchReactive
        Returns set-based cache instance by name using provided codec for values. Uses map (value_hash, value) under the hood for minimal memory consumption. Supports value eviction with a given TTL value.

        If eviction is not required then it's better to use regular map RBatchReactive.getSet(String, Codec).

        Specified by:
        getSetCache in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        codec - - codec for values
        Returns:
        SetCache object
      • getScoredSortedSet

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns Redis Sorted Set instance by name
        Specified by:
        getScoredSortedSet in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        ScoredSortedSet object
      • getLexSortedSet

        public  name)
        Description copied from interface: RBatchReactive
        Returns String based Redis Sorted Set instance by name All elements are inserted with the same score during addition, in order to force lexicographical ordering
        Specified by:
        getLexSortedSet in interface RBatchReactive
        Parameters:
        name - - name of object
        Returns:
        LexSortedSet object
      • getBitSet

        public  name)
        Description copied from interface: RBatchReactive
        Returns bitSet instance by name.
        Specified by:
        getBitSet in interface RBatchReactive
        Parameters:
        name - of bitSet
        Returns:
        BitSet object
      • getScript

        public RScriptReactive getScript​(Codec codec)
        Description copied from interface: RBatchReactive
        Returns script operations object using provided codec.
        Specified by:
        getScript in interface RBatchReactive
        Parameters:
        codec - - codec for params and result
        Returns:
        Script object
      • getKeys

        public RKeysReactive getKeys()
        Description copied from interface: RBatchReactive
        Returns keys operations. Each of Redis/Redisson object associated with own key
        Specified by:
        getKeys in interface RBatchReactive
        Returns:
        Keys object
      • execute

        public reactor.core.publisher.Mono<BatchResult<?>> execute()
        Description copied from interface: RBatchReactive
        Executes all operations accumulated during Reactive methods invocations Reactivehronously. In cluster configurations operations grouped by slot ids so may be executed on different servers. Thus command execution order could be changed
        Specified by:
        execute in interface RBatchReactive
        Returns:
        List with result object for each command
      • discard

        public reactor.core.publisher.Mono<> discard()
        Description copied from interface: RBatchReactive
        Discard batched commands and release allocated buffers used for parameters encoding.
        Specified by:
        discard in interface RBatchReactive
        Returns:
        void
      • getGeo

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns geospatial items holder instance by name.
        Specified by:
        getGeo in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        Geo object
      • getGeo

        public <V>  name,
                                          Codec codec)
        Description copied from interface: RBatchReactive
        Returns geospatial items holder instance by name using provided codec for geospatial members.
        Specified by:
        getGeo in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        codec - - codec for value
        Returns:
        Geo object
      • getSetMultimap

        public <K,​V>  name)
        Description copied from interface: RBatchReactive
        Returns Set based Multimap instance by name.
        Specified by:
        getSetMultimap in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        SetMultimap object
      • getSetMultimap

        public <K,​V>  name,
                                                                          Codec codec)
        Description copied from interface: RBatchReactive
        Returns Set based Multimap instance by name using provided codec for both map keys and values.
        Specified by:
        getSetMultimap in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        codec - - codec for keys and values
        Returns:
        SetMultimap object
      • getListMultimap

        public <K,​V>  name)
        Description copied from interface: RBatchReactive
        Returns List based MultiMap instance by name.
        Specified by:
        getListMultimap in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        ListMultimap object
      • getListMultimap

        public <K,​V>  name,
                                                                            Codec codec)
        Description copied from interface: RBatchReactive
        Returns List based MultiMap instance by name using provided codec for both map keys and values.
        Specified by:
        getListMultimap in interface RBatchReactive
        Type Parameters:
        K - type of key
        V - type of value
        Parameters:
        name - - name of object
        codec - - codec for keys and values
        Returns:
        ListMultimap object
      • getAtomicDouble

        public  name)
        Description copied from interface: RBatchReactive
        Returns atomicDouble instance by name.
        Specified by:
        getAtomicDouble in interface RBatchReactive
        Parameters:
        name - - name of object
        Returns:
        AtomicDouble object
      • getBlockingDeque

        public <V>  name)
        Description copied from interface: RBatchReactive
        Returns blocking deque instance by name.
        Specified by:
        getBlockingDeque in interface RBatchReactive
        Type Parameters:
        V - type of value
        Parameters:
        name - - name of object
        Returns:
        BlockingDeque object