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
Flags 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, valuescompute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, getName, getVersion, merge, merge, put, put, put, putIfAbsent, putIfAbsent, replace, replaceclearAsync, 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, sizeAsynccompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, replace, replaceAllclear, containsKey, containsValue, equals, get, hashCode, isEmpty, sizegetTransactionManagerCloseableIterator<K> keyIterator(IntSet segments)
CloseableIterator<Map.Entry<K,V>> entryIterator(IntSet segments)
InternalRemoteCache<K,V> withFlags(Flag... flags)
RemoteCacheFlags 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)
RemoteCacheRemoteCache using the supplied DataFormat.withDataFormat in interface RemoteCache<K,V>boolean hasForceReturnFlag()
void resolveStorage(boolean objectStorage)
ClientStatistics clientStatistics()
RemoteCacheclientStatistics 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 © 2022 JBoss by Red Hat. All rights reserved.