Interface RemoteCache<K,​V>

    • Method Detail

      • configuration

        CompletionStage<org.infinispan.api.configuration.CacheConfiguration> configuration()
      • get

        CompletionStage<V> get​(K key,
                               org.infinispan.api.common.CacheOptions options)
      • keyAsObjectIfNeeded

        K keyAsObjectIfNeeded​(Object key)
      • keyToBytes

        byte[] keyToBytes​(Object o)
      • valueToBytes

        byte[] valueToBytes​(Object o)
      • getEntry

        CompletionStage<org.infinispan.api.common.CacheEntry<K,​V>> getEntry​(K key,
                                                                                  org.infinispan.api.common.CacheOptions options)
      • putIfAbsent

        CompletionStage<org.infinispan.api.common.CacheEntry<K,​V>> putIfAbsent​(K key,
                                                                                     V value,
                                                                                     org.infinispan.api.common.CacheWriteOptions options)
      • setIfAbsent

        CompletionStage<Boolean> setIfAbsent​(K key,
                                             V value,
                                             org.infinispan.api.common.CacheWriteOptions options)
      • put

        CompletionStage<org.infinispan.api.common.CacheEntry<K,​V>> put​(K key,
                                                                             V value,
                                                                             org.infinispan.api.common.CacheWriteOptions options)
      • set

        CompletionStage<Void> set​(K key,
                                  V value,
                                  org.infinispan.api.common.CacheWriteOptions options)
      • replace

        CompletionStage<Boolean> replace​(K key,
                                         V value,
                                         org.infinispan.api.common.CacheEntryVersion version,
                                         org.infinispan.api.common.CacheWriteOptions options)
      • getOrReplaceEntry

        CompletionStage<org.infinispan.api.common.CacheEntry<K,​V>> getOrReplaceEntry​(K key,
                                                                                           V value,
                                                                                           org.infinispan.api.common.CacheEntryVersion version,
                                                                                           org.infinispan.api.common.CacheWriteOptions options)
      • remove

        CompletionStage<Boolean> remove​(K key,
                                        org.infinispan.api.common.CacheEntryVersion version,
                                        org.infinispan.api.common.CacheOptions options)
      • getAndRemove

        CompletionStage<org.infinispan.api.common.CacheEntry<K,​V>> getAndRemove​(K key,
                                                                                      org.infinispan.api.common.CacheOptions options)
      • keys

        Flow.Publisher<K> keys​(org.infinispan.api.common.CacheOptions options)
      • entries

        Flow.Publisher<org.infinispan.api.common.CacheEntry<K,​V>> entries​(org.infinispan.api.common.CacheOptions options)
      • getAll

        Flow.Publisher<org.infinispan.api.common.CacheEntry<K,​V>> getAll​(Set<K> keys,
                                                                               org.infinispan.api.common.CacheOptions options)
      • getAll

        Flow.Publisher<org.infinispan.api.common.CacheEntry<K,​V>> getAll​(org.infinispan.api.common.CacheOptions options,
                                                                               K[] keys)
      • removeAll

        Flow.Publisher<K> removeAll​(Set<K> keys,
                                    org.infinispan.api.common.CacheWriteOptions options)
      • getAndRemoveAll

        Flow.Publisher<org.infinispan.api.common.CacheEntry<K,​V>> getAndRemoveAll​(Set<K> keys,
                                                                                        org.infinispan.api.common.CacheWriteOptions options)
      • getAndRemoveAll

        Flow.Publisher<org.infinispan.api.common.CacheEntry<K,​V>> getAndRemoveAll​(Flow.Publisher<K> keys,
                                                                                        org.infinispan.api.common.CacheWriteOptions options)
      • estimateSize

        CompletionStage<Long> estimateSize​(org.infinispan.api.common.CacheOptions options)
      • listen

        Flow.Publisher<org.infinispan.api.common.events.cache.CacheEntryEvent<K,​V>> listen​(org.infinispan.api.common.events.cache.CacheListenerOptions options,
                                                                                                 org.infinispan.api.common.events.cache.CacheEntryEventType[] types)
      • process

        <T> Flow.Publisher<org.infinispan.api.common.process.CacheEntryProcessorResult<K,​T>> process​(Set<K> keys,
                                                                                                           org.infinispan.api.async.AsyncCacheEntryProcessor<K,​V,​T> task,
                                                                                                           org.infinispan.api.common.CacheOptions options)
      • processAll

        <T> Flow.Publisher<org.infinispan.api.common.process.CacheEntryProcessorResult<K,​T>> processAll​(org.infinispan.api.async.AsyncCacheEntryProcessor<K,​V,​T> processor,
                                                                                                              org.infinispan.api.common.process.CacheProcessorOptions options)
      • retrieveEntries

        default org.infinispan.commons.util.CloseableIterator<org.infinispan.api.common.CacheEntry<Object,​Object>> retrieveEntries​(String filterConverterFactory,
                                                                                                                                         Set<Integer> segments,
                                                                                                                                         int batchSize)
      • retrieveEntries

        org.infinispan.commons.util.CloseableIterator<org.infinispan.api.common.CacheEntry<Object,​Object>> retrieveEntries​(String filterConverterFactory,
                                                                                                                                 Object[] filterConverterParams,
                                                                                                                                 Set<Integer> segments,
                                                                                                                                 int batchSize)
      • resolveStorage

        void resolveStorage​(boolean objectStorage)
      • addNearCacheListener

        SocketAddress addNearCacheListener​(Object listener,
                                           int bloomFilterBits)
      • publishEntries

        <E> org.reactivestreams.Publisher<org.infinispan.api.common.CacheEntry<K,​E>> publishEntries​(String filterConverterFactory,
                                                                                                          Object[] filterConverterParams,
                                                                                                          Set<Integer> segments,
                                                                                                          int batchSize)
      • retrieveEntriesByQuery

        org.infinispan.commons.util.CloseableIterator<org.infinispan.api.common.CacheEntry<Object,​Object>> retrieveEntriesByQuery​(RemoteQuery query,
                                                                                                                                        Set<Integer> segments,
                                                                                                                                        int batchSize)
      • publishEntriesByQuery

        <E> org.reactivestreams.Publisher<org.infinispan.api.common.CacheEntry<K,​E>> publishEntriesByQuery​(RemoteQuery query,
                                                                                                                 Set<Integer> segments,
                                                                                                                 int batchSize)
      • retrieveEntriesWithMetadata

        org.infinispan.commons.util.CloseableIterator<org.infinispan.api.common.CacheEntry<Object,​Object>> retrieveEntriesWithMetadata​(Set<Integer> segments,
                                                                                                                                             int batchSize)
      • publishEntriesWithMetadata

        org.reactivestreams.Publisher<org.infinispan.api.common.CacheEntry<K,​V>> publishEntriesWithMetadata​(Set<Integer> segments,
                                                                                                                  int batchSize)
      • getTransactionManager

        javax.transaction.TransactionManager getTransactionManager()
      • isTransactional

        boolean isTransactional()