public interface InternalRemoteCache<K,V> extends RemoteCache<K,V>
Modifier and Type | Method and Description |
---|---|
ClientStatistics |
clientStatistics()
Returns client-side statistics for this cache.
|
CloseableIterator<Map.Entry<K,V>> |
entryIterator(IntSet segments) |
OperationsFactory |
getOperationsFactory() |
boolean |
hasForceReturnFlag() |
void |
init(Marshaller marshaller,
OperationsFactory operationsFactory,
Configuration configuration) |
void |
init(Marshaller marshaller,
OperationsFactory operationsFactory,
Configuration configuration,
ObjectName jmxParent) |
boolean |
isObjectStorage() |
K |
keyAsObjectIfNeeded(Object key) |
CloseableIterator<K> |
keyIterator(IntSet segments) |
byte[] |
keyToBytes(Object o) |
default boolean |
removeEntry(K key,
V value) |
default boolean |
removeEntry(Map.Entry<K,V> entry) |
void |
resolveStorage(boolean objectStorage) |
<T,U> InternalRemoteCache<T,U> |
withDataFormat(DataFormat dataFormat)
Return a new instance of
RemoteCache using the supplied DataFormat . |
InternalRemoteCache<K,V> |
withFlags(Flag... flags)
Applies one or more
Flag s to the scope of a single invocation. |
addClientListener, addClientListener, entrySet, entrySet, execute, execute, getAll, getCacheTopologyInfo, getDataFormat, getListeners, getProtocolVersion, getRemoteCacheManager, getWithMetadata, getWithMetadataAsync, isTransactional, keySet, keySet, publishEntries, publishEntriesByQuery, publishEntriesWithMetadata, putAll, putAll, putAll, putAllAsync, putAllAsync, putAllAsync, remove, remove, removeClientListener, removeWithVersion, removeWithVersionAsync, replace, replace, replace, replaceWithVersion, replaceWithVersion, replaceWithVersion, replaceWithVersion, replaceWithVersionAsync, replaceWithVersionAsync, replaceWithVersionAsync, replaceWithVersionAsync, retrieveEntries, retrieveEntries, retrieveEntries, retrieveEntriesByQuery, retrieveEntriesWithMetadata, serverStatistics, stats, streaming, values, values
compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, getName, getVersion, merge, merge, put, put, put, putIfAbsent, putIfAbsent, replace, replace
clearAsync, computeAsync, computeAsync, computeAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresentAsync, computeIfPresentAsync, computeIfPresentAsync, containsKeyAsync, getAllAsync, getAsync, mergeAsync, mergeAsync, mergeAsync, putAsync, putAsync, putAsync, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, sizeAsync
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, replace, replaceAll
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, size
getTransactionManager
CloseableIterator<K> keyIterator(IntSet segments)
CloseableIterator<Map.Entry<K,V>> entryIterator(IntSet segments)
InternalRemoteCache<K,V> withFlags(Flag... flags)
RemoteCache
Flag
s to the scope of a single invocation. See the Flag
enumeration to for
information on available flags.
Sample usage:
remoteCache.withFlags(Flag.FORCE_RETURN_VALUE).put("hello", "world");
withFlags
in interface RemoteCache<K,V>
<T,U> InternalRemoteCache<T,U> withDataFormat(DataFormat dataFormat)
RemoteCache
RemoteCache
using the supplied DataFormat
.withDataFormat
in interface RemoteCache<K,V>
boolean hasForceReturnFlag()
void resolveStorage(boolean objectStorage)
ClientStatistics clientStatistics()
RemoteCache
clientStatistics
in interface RemoteCache<K,V>
void init(Marshaller marshaller, OperationsFactory operationsFactory, Configuration configuration, ObjectName jmxParent)
void init(Marshaller marshaller, OperationsFactory operationsFactory, Configuration configuration)
OperationsFactory getOperationsFactory()
boolean isObjectStorage()
byte[] keyToBytes(Object o)
Copyright © 2021 JBoss by Red Hat. All rights reserved.