Class BaseTransactionalMap<K,​V>

  • Type Parameters:
    K - key type
    V - value type
    Direct Known Subclasses:
    BaseTransactionalMapCache

    public class BaseTransactionalMap<K,​V>
    extends 
    Author:
    Nikita Koksharov
    • Method Detail

      • isExistsAsync

        public > isExistsAsync()
      • scanIterator

        protected <,​>> scanIterator​( name,
                                                                          RedisClient client,
                                                                          long startPos,
                                                                           pattern,
                                                                          int count)
      • containsKeyAsync

        public > containsKeyAsync​( key)
      • containsValueAsync

        public > containsValueAsync​( value)
      • addAndGetOperationAsync

        protected RFuture<V> addAndGetOperationAsync​(K key,
                                                      value)
      • putIfExistsOperationAsync

        protected RFuture<V> putIfExistsOperationAsync​(K key,
                                                       V value)
      • putIfExistsOperationAsync

        protected RFuture<V> putIfExistsOperationAsync​(K key,
                                                       V value,
                                                       MapOperation mapOperation)
      • putIfAbsentOperationAsync

        protected RFuture<V> putIfAbsentOperationAsync​(K key,
                                                       V value)
      • putIfAbsentOperationAsync

        protected RFuture<V> putIfAbsentOperationAsync​(K key,
                                                       V value,
                                                       MapOperation mapOperation)
      • putOperationAsync

        protected final RFuture<V> putOperationAsync​(K key,
                                                     V value)
      • fastPutIfExistsOperationAsync

        protected > fastPutIfExistsOperationAsync​(K key,
                                                                 V value)
      • fastPutIfExistsOperationAsync

        protected > fastPutIfExistsOperationAsync​(K key,
                                                                 V value,
                                                                 MapOperation mapOperation)
      • fastPutIfAbsentOperationAsync

        protected > fastPutIfAbsentOperationAsync​(K key,
                                                                 V value)
      • fastPutIfAbsentOperationAsync

        protected > fastPutIfAbsentOperationAsync​(K key,
                                                                 V value,
                                                                 MapOperation mapOperation)
      • fastPutOperationAsync

        protected > fastPutOperationAsync​(K key,
                                                         V value)
      • fastPutOperationAsync

        protected > fastPutOperationAsync​(K key,
                                                         V value,
                                                         MapOperation operation)
      • fastRemoveOperationAsync

        protected > fastRemoveOperationAsync​(K... keys)
      • valueSizeAsync

        public > valueSizeAsync​(K key)
      • getOperationAsync

        protected RFuture<V> getOperationAsync​(K key)
      • readAllKeySetAsync

        public <K>> readAllKeySetAsync()
      • readAllEntrySetAsync

        public <<K,​V>>> readAllEntrySetAsync()
      • readAllValuesAsync

        public <V>> readAllValuesAsync()
      • readAllMapAsync

        public <K,​V>> readAllMapAsync()
      • getAllOperationAsync

        protected <<K> keys)
      • removeOperationAsync

        protected RFuture<V> removeOperationAsync​(K key)
      • removeOperationAsync

        protected > removeOperationAsync​( key,
                                                         value)
      • putAllOperationAsync

        protected > putAllOperationAsync​(<? extends K,​? extends V> entries)
      • replaceOperationAsync

        protected > replaceOperationAsync​(K key,
                                                         V oldValue,
                                                         V newValue)
      • replaceOperationAsync

        protected RFuture<V> replaceOperationAsync​(K key,
                                                   V value)
      • executeLocked

        protected <R> void executeLocked​(RPromise<R> promise,
                                         K key,
                                          runnable)
      • getLock

        protected RLock getLock​(K key)
      • executeLocked

        protected <R> void executeLocked​(RPromise<R> promise,
                                          runnable,
                                         RLock lock)
      • executeLocked

        protected <R> void executeLocked​(RPromise<R> promise,
                                          runnable,
                                         <K> keys)