Class RemoteCacheWithStats<K,​V>

  • All Implemented Interfaces:
    ConcurrentMap<K,​V>, Map<K,​V>, org.infinispan.client.hotrod.RemoteCache<K,​V>, org.infinispan.commons.api.AsyncCache<K,​V>, org.infinispan.commons.api.BasicCache<K,​V>, org.infinispan.commons.api.Lifecycle, org.infinispan.commons.api.TransactionalCache

    public class RemoteCacheWithStats<K,​V>
    extends Object
    • Field Detail

      • delegate

        protected final org.infinispan.client.hotrod.RemoteCache<K,​V> delegate
    • Constructor Detail

      • RemoteCacheWithStats

        public RemoteCacheWithStats​(org.infinispan.client.hotrod.RemoteCache<K,​V> delegate,
                                    LocalStatistics stats)
    • Method Detail

      • get

        public V get​(Object key)
        Specified by:
        get in interface Map<K,​V>
      • put

        public V put​(K key,
                     V value)
        Specified by:
        put in interface org.infinispan.commons.api.BasicCache<K,​V>
        Specified by:
        put in interface Map<K,​V>
      • put

        public V put​(K key,
                     V value,
                     long lifespan,
                     TimeUnit unit)
        Specified by:
        put in interface org.infinispan.commons.api.BasicCache<K,​V>
      • replace

        public boolean replace​(K key,
                               V oldValue,
                               V newValue)
        Specified by:
        replace in interface ConcurrentMap<K,​V>
        Specified by:
        replace in interface Map<K,​V>
        Specified by:
        replace in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersion

        public boolean replaceWithVersion​(K key,
                                          V newValue,
                                          long version)
        Specified by:
        replaceWithVersion in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • remove

        public V remove​(Object key)
        Specified by:
        remove in interface org.infinispan.commons.api.BasicCache<K,​V>
        Specified by:
        remove in interface Map<K,​V>
        Specified by:
        remove in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • remove

        public boolean remove​(Object key,
                              Object oldValue)
        Specified by:
        remove in interface ConcurrentMap<K,​V>
        Specified by:
        remove in interface Map<K,​V>
        Specified by:
        remove in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • removeWithVersion

        public boolean removeWithVersion​(K key,
                                         long version)
        Specified by:
        removeWithVersion in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • addClientListener

        public void addClientListener​(Object listener)
        Specified by:
        addClientListener in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • addClientListener

        public void addClientListener​(Object listener,
                                      Object[] filterFactoryParams,
                                      Object[] converterFactoryParams)
        Specified by:
        addClientListener in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • clear

        public void clear()
        Specified by:
        clear in interface Map<K,​V>
      • clearAsync

        public CompletableFuture<Void> clearAsync()
        Specified by:
        clearAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • containsKey

        public boolean containsKey​(Object key)
        Specified by:
        containsKey in interface Map<K,​V>
      • containsValue

        public boolean containsValue​(Object value)
        Specified by:
        containsValue in interface Map<K,​V>
      • entrySet

        public org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,​V>> entrySet()
        Specified by:
        entrySet in interface Map<K,​V>
        Specified by:
        entrySet in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • entrySet

        public org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,​V>> entrySet​(org.infinispan.commons.util.IntSet segments)
        Specified by:
        entrySet in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getAll

        public Map<K,​V> getAll​(Set<? extends K> keys)
        Specified by:
        getAll in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getAsync

        public CompletableFuture<V> getAsync​(K key)
        Specified by:
        getAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • getWithMetadataAsync

        public CompletableFuture<org.infinispan.client.hotrod.MetadataValue<V>> getWithMetadataAsync​(K key)
        Specified by:
        getWithMetadataAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getListeners

        @Deprecated
        public Set<Object> getListeners()
        Deprecated.
        Specified by:
        getListeners in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getName

        public String getName()
        Specified by:
        getName in interface org.infinispan.commons.api.BasicCache<K,​V>
      • getProtocolVersion

        public String getProtocolVersion()
        Specified by:
        getProtocolVersion in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getRemoteCacheManager

        public org.infinispan.client.hotrod.RemoteCacheManager getRemoteCacheManager()
        Specified by:
        getRemoteCacheManager in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface org.infinispan.commons.api.BasicCache<K,​V>
      • getWithMetadata

        public org.infinispan.client.hotrod.MetadataValue<V> getWithMetadata​(K key)
        Specified by:
        getWithMetadata in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Map<K,​V>
      • keySet

        public org.infinispan.commons.util.CloseableIteratorSet<K> keySet()
        Specified by:
        keySet in interface Map<K,​V>
        Specified by:
        keySet in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • keySet

        public org.infinispan.commons.util.CloseableIteratorSet<K> keySet​(org.infinispan.commons.util.IntSet segments)
        Specified by:
        keySet in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • put

        public V put​(K key,
                     V value,
                     long lifespan,
                     TimeUnit lifespanUnit,
                     long maxIdleTime,
                     TimeUnit maxIdleTimeUnit)
        Specified by:
        put in interface org.infinispan.commons.api.BasicCache<K,​V>
      • putAll

        public void putAll​(Map<? extends K,​? extends V> m)
        Specified by:
        putAll in interface Map<K,​V>
        Specified by:
        putAll in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • putAll

        public void putAll​(Map<? extends K,​? extends V> map,
                           long lifespan,
                           TimeUnit unit)
        Specified by:
        putAll in interface org.infinispan.commons.api.BasicCache<K,​V>
        Specified by:
        putAll in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • putAll

        public void putAll​(Map<? extends K,​? extends V> map,
                           long lifespan,
                           TimeUnit lifespanUnit,
                           long maxIdleTime,
                           TimeUnit maxIdleTimeUnit)
        Specified by:
        putAll in interface org.infinispan.commons.api.BasicCache<K,​V>
        Specified by:
        putAll in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • putAllAsync

        public CompletableFuture<Void> putAllAsync​(Map<? extends K,​? extends V> data)
        Specified by:
        putAllAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
        Specified by:
        putAllAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • putAllAsync

        public CompletableFuture<Void> putAllAsync​(Map<? extends K,​? extends V> data,
                                                   long lifespan,
                                                   TimeUnit unit)
        Specified by:
        putAllAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
        Specified by:
        putAllAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • putAllAsync

        public CompletableFuture<Void> putAllAsync​(Map<? extends K,​? extends V> data,
                                                   long lifespan,
                                                   TimeUnit lifespanUnit,
                                                   long maxIdle,
                                                   TimeUnit maxIdleUnit)
        Specified by:
        putAllAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
        Specified by:
        putAllAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • putAsync

        public CompletableFuture<V> putAsync​(K key,
                                             V value)
        Specified by:
        putAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • putAsync

        public CompletableFuture<V> putAsync​(K key,
                                             V value,
                                             long lifespan,
                                             TimeUnit unit)
        Specified by:
        putAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • putAsync

        public CompletableFuture<V> putAsync​(K key,
                                             V value,
                                             long lifespan,
                                             TimeUnit lifespanUnit,
                                             long maxIdle,
                                             TimeUnit maxIdleUnit)
        Specified by:
        putAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • putIfAbsent

        public V putIfAbsent​(K key,
                             V value,
                             long lifespan,
                             TimeUnit unit)
        Specified by:
        putIfAbsent in interface org.infinispan.commons.api.BasicCache<K,​V>
      • putIfAbsent

        public V putIfAbsent​(K key,
                             V value,
                             long lifespan,
                             TimeUnit lifespanUnit,
                             long maxIdleTime,
                             TimeUnit maxIdleTimeUnit)
        Specified by:
        putIfAbsent in interface org.infinispan.commons.api.BasicCache<K,​V>
      • putIfAbsentAsync

        public CompletableFuture<V> putIfAbsentAsync​(K key,
                                                     V value)
        Specified by:
        putIfAbsentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • putIfAbsentAsync

        public CompletableFuture<V> putIfAbsentAsync​(K key,
                                                     V value,
                                                     long lifespan,
                                                     TimeUnit unit)
        Specified by:
        putIfAbsentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • putIfAbsentAsync

        public CompletableFuture<V> putIfAbsentAsync​(K key,
                                                     V value,
                                                     long lifespan,
                                                     TimeUnit lifespanUnit,
                                                     long maxIdle,
                                                     TimeUnit maxIdleUnit)
        Specified by:
        putIfAbsentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • removeAsync

        public CompletableFuture<V> removeAsync​(Object key)
        Specified by:
        removeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • removeClientListener

        public void removeClientListener​(Object listener)
        Specified by:
        removeClientListener in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • removeWithVersionAsync

        public CompletableFuture<Boolean> removeWithVersionAsync​(K key,
                                                                 long version)
        Specified by:
        removeWithVersionAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replace

        public V replace​(K key,
                         V value,
                         long lifespan,
                         TimeUnit unit)
        Specified by:
        replace in interface org.infinispan.commons.api.BasicCache<K,​V>
      • replace

        public V replace​(K key,
                         V value,
                         long lifespan,
                         TimeUnit lifespanUnit,
                         long maxIdleTime,
                         TimeUnit maxIdleTimeUnit)
        Specified by:
        replace in interface org.infinispan.commons.api.BasicCache<K,​V>
      • replace

        public boolean replace​(K key,
                               V oldValue,
                               V value,
                               long lifespan,
                               TimeUnit unit)
        Specified by:
        replace in interface org.infinispan.commons.api.BasicCache<K,​V>
        Specified by:
        replace in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replace

        public boolean replace​(K key,
                               V oldValue,
                               V value,
                               long lifespan,
                               TimeUnit lifespanUnit,
                               long maxIdleTime,
                               TimeUnit maxIdleTimeUnit)
        Specified by:
        replace in interface org.infinispan.commons.api.BasicCache<K,​V>
        Specified by:
        replace in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • compute

        public V compute​(K key,
                         BiFunction<? super K,​? super V,​? extends V> remappingFunction)
        Specified by:
        compute in interface ConcurrentMap<K,​V>
        Specified by:
        compute in interface Map<K,​V>
      • compute

        public V compute​(K key,
                         BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                         long lifespan,
                         TimeUnit lifespanUnit)
        Specified by:
        compute in interface org.infinispan.commons.api.BasicCache<K,​V>
      • compute

        public V compute​(K key,
                         BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                         long lifespan,
                         TimeUnit lifespanUnit,
                         long maxIdleTime,
                         TimeUnit maxIdleTimeUnit)
        Specified by:
        compute in interface org.infinispan.commons.api.BasicCache<K,​V>
      • computeIfPresent

        public V computeIfPresent​(K key,
                                  BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                                  long lifespan,
                                  TimeUnit lifespanUnit)
        Specified by:
        computeIfPresent in interface org.infinispan.commons.api.BasicCache<K,​V>
      • computeIfPresent

        public V computeIfPresent​(K key,
                                  BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                                  long lifespan,
                                  TimeUnit lifespanUnit,
                                  long maxIdleTime,
                                  TimeUnit maxIdleTimeUnit)
        Specified by:
        computeIfPresent in interface org.infinispan.commons.api.BasicCache<K,​V>
      • computeIfAbsent

        public V computeIfAbsent​(K key,
                                 Function<? super K,​? extends V> mappingFunction,
                                 long lifespan,
                                 TimeUnit lifespanUnit)
        Specified by:
        computeIfAbsent in interface org.infinispan.commons.api.BasicCache<K,​V>
      • computeIfAbsent

        public V computeIfAbsent​(K key,
                                 Function<? super K,​? extends V> mappingFunction,
                                 long lifespan,
                                 TimeUnit lifespanUnit,
                                 long maxIdleTime,
                                 TimeUnit maxIdleTimeUnit)
        Specified by:
        computeIfAbsent in interface org.infinispan.commons.api.BasicCache<K,​V>
      • merge

        public V merge​(K key,
                       V value,
                       BiFunction<? super V,​? super V,​? extends V> remappingFunction)
        Specified by:
        merge in interface ConcurrentMap<K,​V>
        Specified by:
        merge in interface Map<K,​V>
      • merge

        public V merge​(K key,
                       V value,
                       BiFunction<? super V,​? super V,​? extends V> remappingFunction,
                       long lifespan,
                       TimeUnit lifespanUnit)
        Specified by:
        merge in interface org.infinispan.commons.api.BasicCache<K,​V>
      • merge

        public V merge​(K key,
                       V value,
                       BiFunction<? super V,​? super V,​? extends V> remappingFunction,
                       long lifespan,
                       TimeUnit lifespanUnit,
                       long maxIdleTime,
                       TimeUnit maxIdleTimeUnit)
        Specified by:
        merge in interface org.infinispan.commons.api.BasicCache<K,​V>
      • replaceAsync

        public CompletableFuture<V> replaceAsync​(K key,
                                                 V value)
        Specified by:
        replaceAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • replaceAsync

        public CompletableFuture<V> replaceAsync​(K key,
                                                 V value,
                                                 long lifespan,
                                                 TimeUnit unit)
        Specified by:
        replaceAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • replaceAsync

        public CompletableFuture<V> replaceAsync​(K key,
                                                 V value,
                                                 long lifespan,
                                                 TimeUnit lifespanUnit,
                                                 long maxIdle,
                                                 TimeUnit maxIdleUnit)
        Specified by:
        replaceAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • replaceAsync

        public CompletableFuture<Boolean> replaceAsync​(K key,
                                                       V oldValue,
                                                       V newValue)
        Specified by:
        replaceAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • replaceAsync

        public CompletableFuture<Boolean> replaceAsync​(K key,
                                                       V oldValue,
                                                       V newValue,
                                                       long lifespan,
                                                       TimeUnit unit)
        Specified by:
        replaceAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • replaceAsync

        public CompletableFuture<Boolean> replaceAsync​(K key,
                                                       V oldValue,
                                                       V newValue,
                                                       long lifespan,
                                                       TimeUnit lifespanUnit,
                                                       long maxIdle,
                                                       TimeUnit maxIdleUnit)
        Specified by:
        replaceAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • replaceWithVersion

        public boolean replaceWithVersion​(K key,
                                          V newValue,
                                          long version,
                                          int lifespanSeconds)
        Specified by:
        replaceWithVersion in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersion

        public boolean replaceWithVersion​(K key,
                                          V newValue,
                                          long version,
                                          int lifespanSeconds,
                                          int maxIdleTimeSeconds)
        Specified by:
        replaceWithVersion in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersion

        public boolean replaceWithVersion​(K key,
                                          V newValue,
                                          long version,
                                          long lifespan,
                                          TimeUnit lifespanTimeUnit,
                                          long maxIdle,
                                          TimeUnit maxIdleTimeUnit)
        Specified by:
        replaceWithVersion in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersionAsync

        public CompletableFuture<Boolean> replaceWithVersionAsync​(K key,
                                                                  V newValue,
                                                                  long version)
        Specified by:
        replaceWithVersionAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersionAsync

        public CompletableFuture<Boolean> replaceWithVersionAsync​(K key,
                                                                  V newValue,
                                                                  long version,
                                                                  int lifespanSeconds)
        Specified by:
        replaceWithVersionAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersionAsync

        public CompletableFuture<Boolean> replaceWithVersionAsync​(K key,
                                                                  V newValue,
                                                                  long version,
                                                                  int lifespanSeconds,
                                                                  int maxIdleSeconds)
        Specified by:
        replaceWithVersionAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • replaceWithVersionAsync

        public CompletableFuture<Boolean> replaceWithVersionAsync​(K key,
                                                                  V newValue,
                                                                  long version,
                                                                  long lifespanSeconds,
                                                                  TimeUnit lifespanTimeUnit,
                                                                  long maxIdle,
                                                                  TimeUnit maxIdleTimeUnit)
        Specified by:
        replaceWithVersionAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • computeAsync

        public CompletableFuture<V> computeAsync​(K key,
                                                 BiFunction<? super K,​? super V,​? extends V> remappingFunction)
        Specified by:
        computeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeAsync

        public CompletableFuture<V> computeAsync​(K key,
                                                 BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                                                 long lifespan,
                                                 TimeUnit lifespanUnit)
        Specified by:
        computeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeAsync

        public CompletableFuture<V> computeAsync​(K key,
                                                 BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                                                 long lifespan,
                                                 TimeUnit lifespanUnit,
                                                 long maxIdle,
                                                 TimeUnit maxIdleUnit)
        Specified by:
        computeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeIfAbsentAsync

        public CompletableFuture<V> computeIfAbsentAsync​(K key,
                                                         Function<? super K,​? extends V> mappingFunction)
        Specified by:
        computeIfAbsentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeIfAbsentAsync

        public CompletableFuture<V> computeIfAbsentAsync​(K key,
                                                         Function<? super K,​? extends V> mappingFunction,
                                                         long lifespan,
                                                         TimeUnit lifespanUnit)
        Specified by:
        computeIfAbsentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeIfAbsentAsync

        public CompletableFuture<V> computeIfAbsentAsync​(K key,
                                                         Function<? super K,​? extends V> mappingFunction,
                                                         long lifespan,
                                                         TimeUnit lifespanUnit,
                                                         long maxIdle,
                                                         TimeUnit maxIdleUnit)
        Specified by:
        computeIfAbsentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeIfPresentAsync

        public CompletableFuture<V> computeIfPresentAsync​(K key,
                                                          BiFunction<? super K,​? super V,​? extends V> remappingFunction)
        Specified by:
        computeIfPresentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeIfPresentAsync

        public CompletableFuture<V> computeIfPresentAsync​(K key,
                                                          BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                                                          long lifespan,
                                                          TimeUnit lifespanUnit)
        Specified by:
        computeIfPresentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • computeIfPresentAsync

        public CompletableFuture<V> computeIfPresentAsync​(K key,
                                                          BiFunction<? super K,​? super V,​? extends V> remappingFunction,
                                                          long lifespan,
                                                          TimeUnit lifespanUnit,
                                                          long maxIdle,
                                                          TimeUnit maxIdleUnit)
        Specified by:
        computeIfPresentAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • mergeAsync

        public CompletableFuture<V> mergeAsync​(K key,
                                               V value,
                                               BiFunction<? super V,​? super V,​? extends V> remappingFunction)
        Specified by:
        mergeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • mergeAsync

        public CompletableFuture<V> mergeAsync​(K key,
                                               V value,
                                               BiFunction<? super V,​? super V,​? extends V> remappingFunction,
                                               long lifespan,
                                               TimeUnit lifespanUnit)
        Specified by:
        mergeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • mergeAsync

        public CompletableFuture<V> mergeAsync​(K key,
                                               V value,
                                               BiFunction<? super V,​? super V,​? extends V> remappingFunction,
                                               long lifespan,
                                               TimeUnit lifespanUnit,
                                               long maxIdle,
                                               TimeUnit maxIdleUnit)
        Specified by:
        mergeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • size

        public int size()
        Specified by:
        size in interface Map<K,​V>
      • sizeAsync

        public CompletableFuture<Long> sizeAsync()
        Specified by:
        sizeAsync in interface org.infinispan.commons.api.AsyncCache<K,​V>
      • start

        public void start()
        Specified by:
        start in interface org.infinispan.commons.api.Lifecycle
      • stats

        public org.infinispan.client.hotrod.ServerStatistics stats()
        Specified by:
        stats in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • stop

        public void stop()
        Specified by:
        stop in interface org.infinispan.commons.api.Lifecycle
      • values

        public org.infinispan.commons.util.CloseableIteratorCollection<V> values()
        Specified by:
        values in interface Map<K,​V>
        Specified by:
        values in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • values

        public org.infinispan.commons.util.CloseableIteratorCollection<V> values​(org.infinispan.commons.util.IntSet segments)
        Specified by:
        values in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • withFlags

        public org.infinispan.client.hotrod.RemoteCache<K,​V> withFlags​(org.infinispan.client.hotrod.Flag... flags)
        Specified by:
        withFlags in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • execute

        public <T> T execute​(String scriptName,
                             Map<String,​?> params)
        Specified by:
        execute in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • execute

        public <T> T execute​(String scriptName,
                             Map<String,​?> params,
                             Object key)
        Specified by:
        execute in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getCacheTopologyInfo

        public org.infinispan.client.hotrod.CacheTopologyInfo getCacheTopologyInfo()
        Specified by:
        getCacheTopologyInfo in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • retrieveEntries

        public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,​Object>> retrieveEntries​(String filterConverterFactory,
                                                                                                             Set<Integer> segments,
                                                                                                             int batchSize)
        Specified by:
        retrieveEntries in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • retrieveEntries

        public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,​Object>> retrieveEntries​(String filterConverterFactory,
                                                                                                             int batchSize)
        Specified by:
        retrieveEntries in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • retrieveEntries

        public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,​Object>> retrieveEntries​(String filterConverterFactory,
                                                                                                             Object[] filterConverterParams,
                                                                                                             Set<Integer> segments,
                                                                                                             int batchSize)
        Specified by:
        retrieveEntries in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • publishEntries

        public <E> org.reactivestreams.Publisher<Map.Entry<K,​E>> publishEntries​(String filterConverterFactory,
                                                                                      Object[] filterConverterParams,
                                                                                      Set<Integer> segments,
                                                                                      int batchSize)
        Specified by:
        publishEntries in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • retrieveEntriesByQuery

        public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,​Object>> retrieveEntriesByQuery​(org.infinispan.query.dsl.Query<?> filterQuery,
                                                                                                                    Set<Integer> segments,
                                                                                                                    int batchSize)
        Specified by:
        retrieveEntriesByQuery in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • publishEntriesByQuery

        public <E> org.reactivestreams.Publisher<Map.Entry<K,​E>> publishEntriesByQuery​(org.infinispan.query.dsl.Query<?> filterQuery,
                                                                                             Set<Integer> segments,
                                                                                             int batchSize)
        Specified by:
        publishEntriesByQuery in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • retrieveEntriesWithMetadata

        public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,​org.infinispan.client.hotrod.MetadataValue<Object>>> retrieveEntriesWithMetadata​(Set<Integer> segments,
                                                                                                                                                                     int batchSize)
        Specified by:
        retrieveEntriesWithMetadata in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • publishEntriesWithMetadata

        public org.reactivestreams.Publisher<Map.Entry<K,​org.infinispan.client.hotrod.MetadataValue<V>>> publishEntriesWithMetadata​(Set<Integer> segments,
                                                                                                                                          int batchSize)
        Specified by:
        publishEntriesWithMetadata in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • withDataFormat

        public org.infinispan.client.hotrod.RemoteCache<K,​V> withDataFormat​(org.infinispan.client.hotrod.DataFormat dataFormat)
        Specified by:
        withDataFormat in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • streaming

        public org.infinispan.client.hotrod.StreamingRemoteCache<K> streaming()
        Specified by:
        streaming in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • getDataFormat

        public org.infinispan.client.hotrod.DataFormat getDataFormat()
        Specified by:
        getDataFormat in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • clientStatistics

        public org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBean clientStatistics()
        Specified by:
        clientStatistics in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • serverStatistics

        public org.infinispan.client.hotrod.ServerStatistics serverStatistics()
        Specified by:
        serverStatistics in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • serverStatisticsAsync

        public CompletionStage<org.infinispan.client.hotrod.ServerStatistics> serverStatisticsAsync()
        Specified by:
        serverStatisticsAsync in interface org.infinispan.client.hotrod.RemoteCache<K,​V>
      • isTransactional

        public boolean isTransactional()
        Specified by:
        isTransactional in interface org.infinispan.client.hotrod.RemoteCache<K,​V>