Package org.infinispan.jcache.remote
Class RemoteCacheWithStats<K,V>
java.lang.Object
org.infinispan.jcache.remote.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
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteCacheWithStats(org.infinispan.client.hotrod.RemoteCache<K, V> delegate, LocalStatistics stats) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientListener(Object listener) voidaddClientListener(Object listener, Object[] filterFactoryParams, Object[] converterFactoryParams) voidclear()org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBeancompute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) compute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()entrySet(org.infinispan.commons.util.IntSet segments) <T> T<T> Torg.infinispan.client.hotrod.CacheTopologyInfoorg.infinispan.client.hotrod.DataFormatDeprecated, for removal: This API element is subject to removal in a future version.getName()org.infinispan.client.hotrod.RemoteCacheContainerorg.infinispan.client.hotrod.MetadataValue<V> getWithMetadata(K key) CompletableFuture<org.infinispan.client.hotrod.MetadataValue<V>> getWithMetadataAsync(K key) booleanisEmpty()booleanorg.infinispan.commons.util.CloseableIteratorSet<K> keySet()org.infinispan.commons.util.CloseableIteratorSet<K> keySet(org.infinispan.commons.util.IntSet segments) merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) publishEntries(String filterConverterFactory, Object[] filterConverterParams, Set<Integer> segments, int batchSize) publishEntriesByQuery(org.infinispan.query.dsl.Query<?> filterQuery, Set<Integer> segments, int batchSize) publishEntriesWithMetadata(Set<Integer> segments, int batchSize) put(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) voidvoidvoidputAll(Map<? extends K, ? extends V> map, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) putAllAsync(Map<? extends K, ? extends V> data) putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit unit) putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) putIfAbsent(K key, V value) putIfAbsent(K key, V value, long lifespan, TimeUnit unit) putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) putIfAbsentAsync(K key, V value) putIfAbsentAsync(K key, V value, long lifespan, TimeUnit unit) putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) booleanremoveAsync(Object key) removeAsync(Object key, Object value) voidremoveClientListener(Object listener) booleanremoveWithVersion(K key, long version) removeWithVersionAsync(K key, long version) replace(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) booleanbooleanbooleanreplace(K key, V oldValue, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) replaceAsync(K key, V value) replaceAsync(K key, V value, long lifespan, TimeUnit unit) replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) replaceAsync(K key, V oldValue, V newValue) replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit unit) replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) booleanreplaceWithVersion(K key, V newValue, long version) booleanreplaceWithVersion(K key, V newValue, long version, int lifespanSeconds) booleanreplaceWithVersion(K key, V newValue, long version, int lifespanSeconds, int maxIdleTimeSeconds) booleanreplaceWithVersion(K key, V newValue, long version, long lifespan, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit) replaceWithVersionAsync(K key, V newValue, long version) replaceWithVersionAsync(K key, V newValue, long version, int lifespanSeconds) replaceWithVersionAsync(K key, V newValue, long version, int lifespanSeconds, int maxIdleSeconds) replaceWithVersionAsync(K key, V newValue, long version, long lifespanSeconds, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit) retrieveEntries(String filterConverterFactory, int batchSize) retrieveEntries(String filterConverterFactory, Object[] filterConverterParams, Set<Integer> segments, int batchSize) retrieveEntries(String filterConverterFactory, Set<Integer> segments, int batchSize) 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.ServerStatisticsCompletionStage<org.infinispan.client.hotrod.ServerStatistics> intsize()voidstart()org.infinispan.client.hotrod.ServerStatisticsstats()voidstop()org.infinispan.client.hotrod.StreamingRemoteCache<K> org.infinispan.commons.util.CloseableIteratorCollection<V> values()org.infinispan.commons.util.CloseableIteratorCollection<V> values(org.infinispan.commons.util.IntSet segments) withDataFormat(org.infinispan.client.hotrod.DataFormat dataFormat) withFlags(org.infinispan.client.hotrod.Flag... flags) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.api.AsyncCache
containsKeyAsync, getAllAsyncMethods inherited from interface java.util.concurrent.ConcurrentMap
forEach, getOrDefault, replaceAllMethods inherited from interface org.infinispan.client.hotrod.RemoteCache
execute, getRemoteCacheManagerMethods inherited from interface org.infinispan.commons.api.TransactionalCache
getTransactionManager
-
Field Details
-
delegate
-
-
Constructor Details
-
RemoteCacheWithStats
public RemoteCacheWithStats(org.infinispan.client.hotrod.RemoteCache<K, V> delegate, LocalStatistics stats)
-
-
Method Details
-
get
-
put
-
put
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
putIfAbsentin interfaceMap<K,V>
-
replace
-
replace
-
replaceWithVersion
-
remove
-
remove
-
removeWithVersion
-
addClientListener
- Specified by:
addClientListenerin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
addClientListener
public void addClientListener(Object listener, Object[] filterFactoryParams, Object[] converterFactoryParams) - Specified by:
addClientListenerin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
clear
public void clear() -
clearAsync
- Specified by:
clearAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
entrySet
-
entrySet
public org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,V>> entrySet(org.infinispan.commons.util.IntSet segments) - Specified by:
entrySetin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getAll
- Specified by:
getAllin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getAsync
- Specified by:
getAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
getWithMetadataAsync
- Specified by:
getWithMetadataAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getListeners
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getListenersin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getName
- Specified by:
getNamein interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
getProtocolVersion
- Specified by:
getProtocolVersionin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getRemoteCacheContainer
public org.infinispan.client.hotrod.RemoteCacheContainer getRemoteCacheContainer()- Specified by:
getRemoteCacheContainerin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getVersion
- Specified by:
getVersionin interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
getWithMetadata
- Specified by:
getWithMetadatain interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
isEmpty
public boolean isEmpty() -
keySet
-
keySet
public org.infinispan.commons.util.CloseableIteratorSet<K> keySet(org.infinispan.commons.util.IntSet segments) - Specified by:
keySetin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
put
public V put(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
putin interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
putAll
-
putAll
- Specified by:
putAllin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Specified by:
putAllin interfaceorg.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:
putAllin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Specified by:
putAllin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
putAllAsync
- Specified by:
putAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Specified by:
putAllAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
putAllAsync
public CompletableFuture<Void> putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit unit) - Specified by:
putAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Specified by:
putAllAsyncin interfaceorg.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:
putAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Specified by:
putAllAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
putAsync
- Specified by:
putAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
putAsync
- Specified by:
putAsyncin interfaceorg.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:
putAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
putIfAbsent
public V putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
putIfAbsentin interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
putIfAbsentAsync
- Specified by:
putIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
putIfAbsentAsync
- Specified by:
putIfAbsentAsyncin interfaceorg.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:
putIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
removeClientListener
- Specified by:
removeClientListenerin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
removeWithVersionAsync
- Specified by:
removeWithVersionAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
replace
- Specified by:
replacein interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
replace
public V replace(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
replacein interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
replace
- Specified by:
replacein interfaceorg.infinispan.commons.api.BasicCache<K,V> - Specified by:
replacein interfaceorg.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:
replacein interfaceorg.infinispan.commons.api.BasicCache<K,V> - Specified by:
replacein interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
compute
- Specified by:
computein interfaceConcurrentMap<K,V> - Specified by:
computein interfaceMap<K,V>
-
compute
public V compute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computein interfaceorg.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:
computein interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
computeIfPresent
- Specified by:
computeIfPresentin interfaceConcurrentMap<K,V> - Specified by:
computeIfPresentin interfaceMap<K,V>
-
computeIfPresent
public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computeIfPresentin interfaceorg.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:
computeIfPresentin interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
computeIfAbsentin interfaceMap<K,V>
-
computeIfAbsent
public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computeIfAbsentin interfaceorg.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:
computeIfAbsentin interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
merge
- Specified by:
mergein interfaceConcurrentMap<K,V> - Specified by:
mergein interfaceMap<K,V>
-
merge
public V merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
mergein interfaceorg.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:
mergein interfaceorg.infinispan.commons.api.BasicCache<K,V>
-
replaceAsync
- Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
replaceAsync
- Specified by:
replaceAsyncin interfaceorg.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:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
replaceAsync
- Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
replaceAsync
public CompletableFuture<Boolean> replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit unit) - Specified by:
replaceAsyncin interfaceorg.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:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
replaceWithVersion
- Specified by:
replaceWithVersionin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
replaceWithVersion
public boolean replaceWithVersion(K key, V newValue, long version, int lifespanSeconds, int maxIdleTimeSeconds) - Specified by:
replaceWithVersionin interfaceorg.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:
replaceWithVersionin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
replaceWithVersionAsync
- Specified by:
replaceWithVersionAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
replaceWithVersionAsync
public CompletableFuture<Boolean> replaceWithVersionAsync(K key, V newValue, long version, int lifespanSeconds) - Specified by:
replaceWithVersionAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
replaceWithVersionAsync
public CompletableFuture<Boolean> replaceWithVersionAsync(K key, V newValue, long version, int lifespanSeconds, int maxIdleSeconds) - Specified by:
replaceWithVersionAsyncin interfaceorg.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:
replaceWithVersionAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) - Specified by:
computeAsyncin interfaceorg.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:
computeAsyncin interfaceorg.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:
computeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
computeIfAbsentAsync
public CompletableFuture<V> computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction) - Specified by:
computeIfAbsentAsyncin interfaceorg.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:
computeIfAbsentAsyncin interfaceorg.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:
computeIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) - Specified by:
computeIfPresentAsyncin interfaceorg.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:
computeIfPresentAsyncin interfaceorg.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:
computeIfPresentAsyncin interfaceorg.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:
mergeAsyncin interfaceorg.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:
mergeAsyncin interfaceorg.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:
mergeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
size
public int size() -
sizeAsync
- Specified by:
sizeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V>
-
start
public void start()- Specified by:
startin interfaceorg.infinispan.commons.api.Lifecycle
-
stats
public org.infinispan.client.hotrod.ServerStatistics stats()- Specified by:
statsin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
stop
public void stop()- Specified by:
stopin interfaceorg.infinispan.commons.api.Lifecycle
-
values
-
values
public org.infinispan.commons.util.CloseableIteratorCollection<V> values(org.infinispan.commons.util.IntSet segments) - Specified by:
valuesin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
withFlags
public org.infinispan.client.hotrod.RemoteCache<K,V> withFlags(org.infinispan.client.hotrod.Flag... flags) - Specified by:
withFlagsin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
execute
- Specified by:
executein interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
execute
- Specified by:
executein interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getCacheTopologyInfo
public org.infinispan.client.hotrod.CacheTopologyInfo getCacheTopologyInfo()- Specified by:
getCacheTopologyInfoin interfaceorg.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:
retrieveEntriesin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
retrieveEntries
public org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,Object>> retrieveEntries(String filterConverterFactory, int batchSize) - Specified by:
retrieveEntriesin interfaceorg.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:
retrieveEntriesin interfaceorg.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:
publishEntriesin interfaceorg.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:
retrieveEntriesByQueryin interfaceorg.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:
publishEntriesByQueryin interfaceorg.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:
retrieveEntriesWithMetadatain interfaceorg.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:
publishEntriesWithMetadatain interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
withDataFormat
public org.infinispan.client.hotrod.RemoteCache<K,V> withDataFormat(org.infinispan.client.hotrod.DataFormat dataFormat) - Specified by:
withDataFormatin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
streaming
- Specified by:
streamingin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
getDataFormat
public org.infinispan.client.hotrod.DataFormat getDataFormat()- Specified by:
getDataFormatin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
clientStatistics
public org.infinispan.client.hotrod.jmx.RemoteCacheClientStatisticsMXBean clientStatistics()- Specified by:
clientStatisticsin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
serverStatistics
public org.infinispan.client.hotrod.ServerStatistics serverStatistics()- Specified by:
serverStatisticsin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
serverStatisticsAsync
- Specified by:
serverStatisticsAsyncin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-
isTransactional
public boolean isTransactional()- Specified by:
isTransactionalin interfaceorg.infinispan.client.hotrod.RemoteCache<K,V>
-