Interface InternalRemoteCache<K,V>
-
- All Superinterfaces:
org.infinispan.commons.api.AsyncCache<K,V>,org.infinispan.commons.api.BasicCache<K,V>,ConcurrentMap<K,V>,org.infinispan.commons.api.Lifecycle,Map<K,V>,RemoteCache<K,V>,org.infinispan.commons.api.TransactionalCache
- All Known Implementing Classes:
DelegatingRemoteCache,InvalidatedNearRemoteCache,RemoteCacheImpl,TransactionalRemoteCacheImpl
public interface InternalRemoteCache<K,V> extends RemoteCache<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClientStatisticsclientStatistics()Returns client-side statistics for this cache.org.infinispan.commons.util.CloseableIterator<Map.Entry<K,V>>entryIterator(org.infinispan.commons.util.IntSet segments)OperationsFactorygetOperationsFactory()booleanhasForceReturnFlag()voidinit(org.infinispan.commons.marshall.Marshaller marshaller, OperationsFactory operationsFactory, Configuration configuration)voidinit(org.infinispan.commons.marshall.Marshaller marshaller, OperationsFactory operationsFactory, Configuration configuration, ObjectName jmxParent)booleanisObjectStorage()KkeyAsObjectIfNeeded(Object key)org.infinispan.commons.util.CloseableIterator<K>keyIterator(org.infinispan.commons.util.IntSet segments)byte[]keyToBytes(Object o)default booleanremoveEntry(Map.Entry<K,V> entry)default booleanremoveEntry(K key, V value)voidresolveStorage(boolean objectStorage)<T,U>
InternalRemoteCache<T,U>withDataFormat(DataFormat dataFormat)Return a new instance ofRemoteCacheusing the suppliedDataFormat.InternalRemoteCache<K,V>withFlags(Flag... flags)Applies one or moreFlags to the scope of a single invocation.-
Methods inherited from interface org.infinispan.commons.api.AsyncCache
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
-
Methods inherited from interface org.infinispan.commons.api.BasicCache
compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, getName, getVersion, merge, merge, put, put, put, putIfAbsent, putIfAbsent, replace, replace
-
Methods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, replace, replaceAll
-
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, size
-
Methods inherited from interface org.infinispan.client.hotrod.RemoteCache
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
-
-
-
-
Method Detail
-
keyIterator
org.infinispan.commons.util.CloseableIterator<K> keyIterator(org.infinispan.commons.util.IntSet segments)
-
entryIterator
org.infinispan.commons.util.CloseableIterator<Map.Entry<K,V>> entryIterator(org.infinispan.commons.util.IntSet segments)
-
withFlags
InternalRemoteCache<K,V> withFlags(Flag... flags)
Description copied from interface:RemoteCacheApplies one or moreFlags to the scope of a single invocation. See theFlagenumeration to for information on available flags. Sample usage:remoteCache.withFlags(Flag.FORCE_RETURN_VALUE).put("hello", "world");- Specified by:
withFlagsin interfaceRemoteCache<K,V>- Returns:
- the current RemoteCache instance to continue running operations on.
-
withDataFormat
<T,U> InternalRemoteCache<T,U> withDataFormat(DataFormat dataFormat)
Description copied from interface:RemoteCacheReturn a new instance ofRemoteCacheusing the suppliedDataFormat.- Specified by:
withDataFormatin interfaceRemoteCache<K,V>
-
hasForceReturnFlag
boolean hasForceReturnFlag()
-
resolveStorage
void resolveStorage(boolean objectStorage)
-
clientStatistics
ClientStatistics clientStatistics()
Description copied from interface:RemoteCacheReturns client-side statistics for this cache.- Specified by:
clientStatisticsin interfaceRemoteCache<K,V>
-
init
void init(org.infinispan.commons.marshall.Marshaller marshaller, OperationsFactory operationsFactory, Configuration configuration, ObjectName jmxParent)
-
init
void init(org.infinispan.commons.marshall.Marshaller marshaller, OperationsFactory operationsFactory, Configuration configuration)
-
getOperationsFactory
OperationsFactory getOperationsFactory()
-
isObjectStorage
boolean isObjectStorage()
-
keyToBytes
byte[] keyToBytes(Object o)
-
-