Package org.infinispan.hotrod.impl.cache
Interface RemoteCache<K,V>
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DelegatingRemoteCache,InvalidatedNearRemoteCache,RemoteCacheImpl,TransactionalRemoteCacheImpl
- Since:
- 14.0
-
Method Summary
Modifier and TypeMethodDescriptionaddNearCacheListener(Object listener, int bloomFilterBits) clear(org.infinispan.api.common.CacheOptions options) CompletionStage<org.infinispan.api.configuration.CacheConfiguration>Flow.Publisher<org.infinispan.api.common.CacheEntry<K,V>> entries(org.infinispan.api.common.CacheOptions options) estimateSize(org.infinispan.api.common.CacheOptions options) Flow.Publisher<org.infinispan.api.common.CacheEntry<K,V>> Flow.Publisher<org.infinispan.api.common.CacheEntry<K,V>> CompletionStage<org.infinispan.api.common.CacheEntry<K,V>> getAndRemove(K key, org.infinispan.api.common.CacheOptions options) Flow.Publisher<org.infinispan.api.common.CacheEntry<K,V>> getAndRemoveAll(Flow.Publisher<K> keys, org.infinispan.api.common.CacheWriteOptions options) Flow.Publisher<org.infinispan.api.common.CacheEntry<K,V>> getAndRemoveAll(Set<K> keys, org.infinispan.api.common.CacheWriteOptions options) CompletionStage<org.infinispan.api.common.CacheEntry<K,V>> RetryAwareCompletionStage<org.infinispan.api.common.CacheEntry<K,V>> getEntry(K key, org.infinispan.api.common.CacheOptions options, SocketAddress listenerAddress) getName()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) javax.transaction.TransactionManagerbooleankeys(org.infinispan.api.common.CacheOptions options) byte[]keyToBytes(Object o) 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) <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) <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) <E> org.reactivestreams.Publisher<org.infinispan.api.common.CacheEntry<K,E>> publishEntries(String filterConverterFactory, Object[] filterConverterParams, Set<Integer> segments, int batchSize) <E> org.reactivestreams.Publisher<org.infinispan.api.common.CacheEntry<K,E>> publishEntriesByQuery(RemoteQuery query, Set<Integer> segments, int batchSize) publishEntriesWithMetadata(Set<Integer> segments, int batchSize) CompletionStage<org.infinispan.api.common.CacheEntry<K,V>> putAll(Flow.Publisher<org.infinispan.api.common.CacheEntry<K, V>> entries, org.infinispan.api.common.CacheWriteOptions options) CompletionStage<org.infinispan.api.common.CacheEntry<K,V>> putIfAbsent(K key, V value, org.infinispan.api.common.CacheWriteOptions options) remove(K key, org.infinispan.api.common.CacheEntryVersion version, org.infinispan.api.common.CacheOptions options) removeAll(Flow.Publisher<K> keys, org.infinispan.api.common.CacheWriteOptions options) replace(K key, V value, org.infinispan.api.common.CacheEntryVersion version, org.infinispan.api.common.CacheWriteOptions options) voidresolveStorage(boolean objectStorage) retrieveEntries(String filterConverterFactory, Object[] filterConverterParams, Set<Integer> segments, int batchSize) default org.infinispan.commons.util.CloseableIterator<org.infinispan.api.common.CacheEntry<Object,Object>> retrieveEntries(String filterConverterFactory, Set<Integer> segments, int batchSize) retrieveEntriesByQuery(RemoteQuery query, Set<Integer> segments, int batchSize) retrieveEntriesWithMetadata(Set<Integer> segments, int batchSize) setIfAbsent(K key, V value, org.infinispan.api.common.CacheWriteOptions options) byte[]<T,U> RemoteCache<T, U> withDataFormat(DataFormat newDataFormat) Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
configuration
CompletionStage<org.infinispan.api.configuration.CacheConfiguration> configuration() -
getHotRodTransport
HotRodTransport getHotRodTransport() -
getOperationsFactory
CacheOperationsFactory getOperationsFactory() -
get
-
keyAsObjectIfNeeded
-
keyToBytes
-
valueToBytes
-
getEntry
CompletionStage<org.infinispan.api.common.CacheEntry<K,V>> getEntry(K key, org.infinispan.api.common.CacheOptions options) -
getEntry
RetryAwareCompletionStage<org.infinispan.api.common.CacheEntry<K,V>> getEntry(K key, org.infinispan.api.common.CacheOptions options, SocketAddress listenerAddress) -
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
-
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
-
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
-
entries
Flow.Publisher<org.infinispan.api.common.CacheEntry<K,V>> entries(org.infinispan.api.common.CacheOptions options) -
putAll
-
putAll
CompletionStage<Void> putAll(Flow.Publisher<org.infinispan.api.common.CacheEntry<K, V>> entries, org.infinispan.api.common.CacheWriteOptions 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
-
removeAll
Flow.Publisher<K> removeAll(Flow.Publisher<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
-
clear
-
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
-
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
-
retrieveEntries
-
withDataFormat
-
resolveStorage
void resolveStorage(boolean objectStorage) -
updateBloomFilter
CompletionStage<Void> updateBloomFilter() -
addNearCacheListener
-
getName
String getName() -
getDataFormat
DataFormat getDataFormat() -
publishEntries
-
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
-
publishEntriesWithMetadata
-
getTransactionManager
javax.transaction.TransactionManager getTransactionManager() -
isTransactional
boolean isTransactional()
-