public class RegisteredRemoteCache<K,V> extends org.infinispan.client.hotrod.impl.RemoteCacheSupport<K,V> implements UnaryOperator<Registration>
| Constructor and Description |
|---|
RegisteredRemoteCache(org.infinispan.client.hotrod.RemoteCacheManager manager,
org.infinispan.client.hotrod.RemoteCache<K,V> cache,
Registrar<String> registrar) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientListener(Object listener) |
void |
addClientListener(Object listener,
Object[] filterFactoryParams,
Object[] converterFactoryParams) |
Registration |
apply(Registration registration) |
CompletableFuture<Void> |
clearAsync() |
org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBean |
clientStatistics() |
CompletableFuture<V> |
computeAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<V> |
computeIfAbsentAsync(K key,
Function<? super K,? extends V> mappingFunction,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<V> |
computeIfPresentAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<Boolean> |
containsKeyAsync(K key) |
boolean |
containsValue(Object value) |
org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,V>> |
entrySet(org.infinispan.commons.util.IntSet segments) |
<T> T |
execute(String taskName,
Map<String,?> params) |
CompletableFuture<Map<K,V>> |
getAllAsync(Set<?> keys) |
CompletableFuture<V> |
getAsync(K key) |
org.infinispan.client.hotrod.CacheTopologyInfo |
getCacheTopologyInfo() |
org.infinispan.client.hotrod.DataFormat |
getDataFormat() |
Set<Object> |
getListeners()
Deprecated.
|
String |
getName() |
String |
getProtocolVersion() |
org.infinispan.client.hotrod.RemoteCacheManager |
getRemoteCacheManager() |
TransactionManager |
getTransactionManager() |
String |
getVersion() |
CompletableFuture<org.infinispan.client.hotrod.MetadataValue<V>> |
getWithMetadataAsync(K key) |
boolean |
isEmpty() |
boolean |
isTransactional() |
org.infinispan.commons.util.CloseableIteratorSet<K> |
keySet(org.infinispan.commons.util.IntSet segments) |
CompletableFuture<V> |
mergeAsync(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
<E> org.reactivestreams.Publisher<Map.Entry<K,E>> |
publishEntries(String filterConverterFactory,
Object[] filterConverterParams,
Set<Integer> segments,
int batchSize) |
<E> org.reactivestreams.Publisher<Map.Entry<K,E>> |
publishEntriesByQuery(org.infinispan.query.dsl.Query<?> filterQuery,
Set<Integer> segments,
int batchSize) |
org.reactivestreams.Publisher<Map.Entry<K,org.infinispan.client.hotrod.MetadataValue<V>>> |
publishEntriesWithMetadata(Set<Integer> segments,
int batchSize) |
CompletableFuture<Void> |
putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<V> |
putAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<V> |
putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<V> |
removeAsync(Object key) |
CompletableFuture<Boolean> |
removeAsync(Object key,
Object value) |
void |
removeClientListener(Object listener) |
CompletableFuture<Boolean> |
removeWithVersionAsync(K key,
long version) |
void |
replaceAll(BiFunction<? super K,? super V,? extends V> function) |
CompletableFuture<V> |
replaceAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<Boolean> |
replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<Boolean> |
replaceWithVersionAsync(K key,
V newValue,
long version,
long lifespanSeconds,
TimeUnit lifespanTimeUnit,
long maxIdle,
TimeUnit maxIdleTimeUnit) |
org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> |
retrieveEntries(String filterConverterFactory,
Object[] filterConverterParams,
Set<Integer> segments,
int batchSize) |
org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> |
retrieveEntriesByQuery(org.infinispan.query.dsl.Query<?> filterQuery,
Set<Integer> segments,
int batchSize) |
org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,org.infinispan.client.hotrod.MetadataValue<Object>>> |
retrieveEntriesWithMetadata(Set<Integer> segments,
int batchSize) |
org.infinispan.client.hotrod.ServerStatistics |
serverStatistics() |
CompletableFuture<Long> |
sizeAsync() |
void |
start() |
void |
stop() |
org.infinispan.client.hotrod.StreamingRemoteCache<K> |
streaming() |
org.infinispan.commons.util.CloseableIteratorCollection<V> |
values(org.infinispan.commons.util.IntSet segments) |
<T,U> org.infinispan.client.hotrod.RemoteCache<T,U> |
withDataFormat(org.infinispan.client.hotrod.DataFormat dataFormat) |
org.infinispan.client.hotrod.RemoteCache<K,V> |
withFlags(org.infinispan.client.hotrod.Flag... flags) |
clear, compute, compute, compute, computeAsync, computeAsync, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresent, computeIfPresent, computeIfPresent, computeIfPresentAsync, computeIfPresentAsync, containsKey, get, getAll, getWithMetadata, merge, merge, merge, mergeAsync, mergeAsync, put, put, put, putAll, putAll, putAll, putAllAsync, putAllAsync, putAsync, putAsync, putIfAbsent, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, remove, remove, removeWithVersion, replace, replace, replace, replace, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceWithVersion, replaceWithVersion, replaceWithVersion, replaceWithVersion, replaceWithVersionAsync, replaceWithVersionAsync, replaceWithVersionAsync, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentityentrySet, execute, keySet, retrieveEntries, retrieveEntries, stats, valuesforEach, getOrDefaultpublic boolean isTransactional()
public TransactionManager getTransactionManager()
getTransactionManager in interface org.infinispan.commons.api.TransactionalCachepublic void start()
start in interface org.infinispan.commons.api.Lifecyclepublic Registration apply(Registration registration)
apply in interface Function<Registration,Registration>public void stop()
stop in interface org.infinispan.commons.api.Lifecyclepublic org.infinispan.client.hotrod.RemoteCacheManager getRemoteCacheManager()
public void addClientListener(Object listener)
public void addClientListener(Object listener, Object[] filterFactoryParams, Object[] converterFactoryParams)
public org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBean clientStatistics()
public org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,V>> entrySet(org.infinispan.commons.util.IntSet segments)
public org.infinispan.client.hotrod.CacheTopologyInfo getCacheTopologyInfo()
public org.infinispan.client.hotrod.DataFormat getDataFormat()
@Deprecated public Set<Object> getListeners()
public String getProtocolVersion()
public org.infinispan.commons.util.CloseableIteratorSet<K> keySet(org.infinispan.commons.util.IntSet segments)
public void removeClientListener(Object listener)
public CompletableFuture<Boolean> replaceWithVersionAsync(K key, V newValue, long version, long lifespanSeconds, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit)
public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> retrieveEntries(String filterConverterFactory, Object[] filterConverterParams, Set<Integer> segments, int batchSize)
public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> retrieveEntriesByQuery(org.infinispan.query.dsl.Query<?> filterQuery, Set<Integer> segments, int batchSize)
public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,org.infinispan.client.hotrod.MetadataValue<Object>>> retrieveEntriesWithMetadata(Set<Integer> segments, int batchSize)
public <E> org.reactivestreams.Publisher<Map.Entry<K,E>> publishEntries(String filterConverterFactory, Object[] filterConverterParams, Set<Integer> segments, int batchSize)
public <E> org.reactivestreams.Publisher<Map.Entry<K,E>> publishEntriesByQuery(org.infinispan.query.dsl.Query<?> filterQuery, Set<Integer> segments, int batchSize)
public org.reactivestreams.Publisher<Map.Entry<K,org.infinispan.client.hotrod.MetadataValue<V>>> publishEntriesWithMetadata(Set<Integer> segments, int batchSize)
public org.infinispan.client.hotrod.ServerStatistics serverStatistics()
public org.infinispan.client.hotrod.StreamingRemoteCache<K> streaming()
public org.infinispan.commons.util.CloseableIteratorCollection<V> values(org.infinispan.commons.util.IntSet segments)
public <T,U> org.infinispan.client.hotrod.RemoteCache<T,U> withDataFormat(org.infinispan.client.hotrod.DataFormat dataFormat)
public org.infinispan.client.hotrod.RemoteCache<K,V> withFlags(org.infinispan.client.hotrod.Flag... flags)
public String getName()
public String getVersion()
public CompletableFuture<Void> clearAsync()
public boolean containsValue(Object value)
containsValue in interface Map<K,V>public CompletableFuture<V> computeAsync(K key, BiFunction<? super K,? super V,? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<V> computeIfAbsentAsync(K key, Function<? super K,? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K,? super V,? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<Boolean> containsKeyAsync(K key)
public CompletableFuture<Map<K,V>> getAllAsync(Set<?> keys)
public CompletableFuture<V> getAsync(K key)
public CompletableFuture<org.infinispan.client.hotrod.MetadataValue<V>> getWithMetadataAsync(K key)
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
public CompletableFuture<Void> putAllAsync(Map<? extends K,? extends V> data, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<V> putAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<V> putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<V> removeAsync(Object key)
public CompletableFuture<Boolean> removeAsync(Object key, Object value)
public CompletableFuture<Boolean> removeWithVersionAsync(K key, long version)
public void replaceAll(BiFunction<? super K,? super V,? extends V> function)
replaceAll in interface ConcurrentMap<K,V>replaceAll in interface Map<K,V>replaceAll in class org.infinispan.client.hotrod.impl.RemoteCacheSupport<K,V>public CompletableFuture<V> replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
public CompletableFuture<Boolean> replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Copyright © 2020 JBoss by Red Hat. All rights reserved.