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) |
void |
clear() |
CompletableFuture<Void> |
clearAsync() |
org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBean |
clientStatistics() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,V>> |
entrySet() |
org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,V>> |
entrySet(org.infinispan.commons.util.IntSet segments) |
<T> T |
execute(String scriptName,
Map<String,?> params) |
V |
get(Object key) |
Map<K,V> |
getAll(Set<? extends K> keys) |
CompletableFuture<V> |
getAsync(K arg0) |
Map<K,V> |
getBulk()
Deprecated.
|
Map<K,V> |
getBulk(int size)
Deprecated.
|
org.infinispan.client.hotrod.CacheTopologyInfo |
getCacheTopologyInfo() |
org.infinispan.client.hotrod.DataFormat |
getDataFormat() |
Set<Object> |
getListeners() |
String |
getName() |
String |
getProtocolVersion() |
org.infinispan.client.hotrod.RemoteCacheManager |
getRemoteCacheManager() |
String |
getVersion() |
org.infinispan.client.hotrod.VersionedValue<V> |
getVersioned(K key)
Deprecated.
|
org.infinispan.client.hotrod.MetadataValue<V> |
getWithMetadata(K key) |
CompletableFuture<org.infinispan.client.hotrod.MetadataValue<V>> |
getWithMetadataAsync(K key) |
boolean |
isEmpty() |
org.infinispan.commons.util.CloseableIteratorSet<K> |
keySet() |
org.infinispan.commons.util.CloseableIteratorSet<K> |
keySet(org.infinispan.commons.util.IntSet segments) |
V |
put(K arg0,
V arg1,
long arg2,
TimeUnit arg3,
long arg4,
TimeUnit arg5) |
void |
putAll(Map<? extends K,? extends V> map,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
CompletableFuture<Void> |
putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
CompletableFuture<V> |
putAsync(K arg0,
V arg1,
long arg2,
TimeUnit arg3,
long arg4,
TimeUnit arg5) |
V |
putIfAbsent(K arg0,
V arg1,
long arg2,
TimeUnit arg3,
long arg4,
TimeUnit arg5) |
CompletableFuture<V> |
putIfAbsentAsync(K arg0,
V arg1,
long arg2,
TimeUnit arg3,
long arg4,
TimeUnit arg5) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
CompletableFuture<V> |
removeAsync(Object arg0) |
void |
removeClientListener(Object listener) |
boolean |
removeWithVersion(K key,
long version) |
CompletableFuture<Boolean> |
removeWithVersionAsync(K key,
long version) |
V |
replace(K arg0,
V arg1,
long arg2,
TimeUnit arg3,
long arg4,
TimeUnit arg5) |
boolean |
replace(K key,
V oldValue,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
CompletableFuture<V> |
replaceAsync(K arg0,
V arg1,
long arg2,
TimeUnit arg3,
long arg4,
TimeUnit arg5) |
boolean |
replaceWithVersion(K key,
V newValue,
long version,
int lifespanSeconds,
int maxIdleTimeSeconds) |
boolean |
replaceWithVersion(K key,
V newValue,
long version,
long lifespan,
TimeUnit lifespanTimeUnit,
long maxIdle,
TimeUnit maxIdleTimeUnit) |
CompletableFuture<Boolean> |
replaceWithVersionAsync(K key,
V newValue,
long version,
int lifespanSeconds,
int maxIdleSeconds) |
org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> |
retrieveEntries(String filterConverterFactory,
int batchSize) |
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>> |
retrieveEntries(String filterConverterFactory,
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() |
protected void |
set(K key,
V value) |
int |
size() |
void |
start() |
void |
stop() |
org.infinispan.client.hotrod.StreamingRemoteCache<K> |
streaming() |
org.infinispan.commons.util.CloseableIteratorCollection<V> |
values() |
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) |
compute, compute, computeAsync, computeAsync, computeAsync, computeIfAbsent, computeIfAbsent, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresent, computeIfPresent, computeIfPresentAsync, computeIfPresentAsync, computeIfPresentAsync, merge, merge, merge, mergeAsync, mergeAsync, mergeAsync, put, put, putAll, putAll, putAllAsync, putAllAsync, putAsync, putAsync, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, removeAsync, replace, replace, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceWithVersion, replaceWithVersion, replaceWithVersionAsync, replaceWithVersionAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentitycontainsKeyAsync, getAllAsynccompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, replaceAllpublic boolean removeWithVersion(K key, long version)
public 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 boolean replace(K key, V oldValue, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
public CompletableFuture<Boolean> removeWithVersionAsync(K key, long version)
public boolean replaceWithVersion(K key, V newValue, long version, int lifespanSeconds, int maxIdleTimeSeconds)
public boolean replaceWithVersion(K key, V newValue, long version, long lifespan, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit)
public CompletableFuture<Boolean> replaceWithVersionAsync(K key, V newValue, long version, int lifespanSeconds, int maxIdleSeconds)
public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> retrieveEntries(String filterConverterFactory, Set<Integer> segments, int batchSize)
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>> retrieveEntries(String filterConverterFactory, 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)
@Deprecated public org.infinispan.client.hotrod.VersionedValue<V> getVersioned(K key)
public CompletableFuture<org.infinispan.client.hotrod.MetadataValue<V>> getWithMetadataAsync(K key)
public org.infinispan.commons.util.CloseableIteratorSet<K> keySet()
public org.infinispan.commons.util.CloseableIteratorSet<K> keySet(org.infinispan.commons.util.IntSet segments)
public org.infinispan.commons.util.CloseableIteratorCollection<V> values()
public org.infinispan.commons.util.CloseableIteratorCollection<V> values(org.infinispan.commons.util.IntSet segments)
public org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,V>> entrySet(org.infinispan.commons.util.IntSet segments)
public void putAll(Map<? extends K,? extends V> map, 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 org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBean clientStatistics()
public org.infinispan.client.hotrod.ServerStatistics serverStatistics()
public org.infinispan.client.hotrod.RemoteCache<K,V> withFlags(org.infinispan.client.hotrod.Flag... flags)
public org.infinispan.client.hotrod.RemoteCacheManager getRemoteCacheManager()
@Deprecated public Map<K,V> getBulk()
@Deprecated public Map<K,V> getBulk(int size)
public String getProtocolVersion()
public void addClientListener(Object listener)
public void addClientListener(Object listener, Object[] filterFactoryParams, Object[] converterFactoryParams)
public void removeClientListener(Object listener)
public org.infinispan.client.hotrod.CacheTopologyInfo getCacheTopologyInfo()
public org.infinispan.client.hotrod.StreamingRemoteCache<K> streaming()
public <T,U> org.infinispan.client.hotrod.RemoteCache<T,U> withDataFormat(org.infinispan.client.hotrod.DataFormat dataFormat)
public org.infinispan.client.hotrod.DataFormat getDataFormat()
public String getName()
public String getVersion()
public V putIfAbsent(K arg0, V arg1, long arg2, TimeUnit arg3, long arg4, TimeUnit arg5)
public CompletableFuture<Void> clearAsync()
public CompletableFuture<V> getAsync(K arg0)
public CompletableFuture<V> putAsync(K arg0, V arg1, long arg2, TimeUnit arg3, long arg4, TimeUnit arg5)
public CompletableFuture<V> putIfAbsentAsync(K arg0, V arg1, long arg2, TimeUnit arg3, long arg4, TimeUnit arg5)
public CompletableFuture<V> removeAsync(Object arg0)
public CompletableFuture<V> replaceAsync(K arg0, V arg1, long arg2, TimeUnit arg3, long arg4, TimeUnit arg5)
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>Copyright © 2020 JBoss by Red Hat. All rights reserved.