| Package | Description |
|---|---|
| org.infinispan |
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
|
| org.infinispan.cache.impl | |
| org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
| org.infinispan.conflict |
This package contains the APIs that enable users to search for, and amend, data inconsistencies within their cache.
|
| org.infinispan.conflict.impl |
This package contains implementations of the conflict resolution API.
|
| org.infinispan.container.entries |
Entries which are stored in data containers.
|
| org.infinispan.container.entries.metadata | |
| org.infinispan.container.impl |
Data containers which store cache entries.
|
| org.infinispan.context |
Contexts contain information of a specific invocation on the cache, such as its origins, scope
(transactional or non-transactional), as well as invocation-specific flags.
|
| org.infinispan.context.impl |
This package contains different context implementations, selected dynamically based on the type of invocation.
|
| org.infinispan.filter |
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
|
| org.infinispan.functional.impl | |
| org.infinispan.interceptors.distribution |
Interceptors dealing with command replication in distributed/replicated mode.
|
| org.infinispan.interceptors.impl |
Basic interceptors
|
| org.infinispan.interceptors.locking |
Interceptors dealing with locking.
|
| org.infinispan.metadata |
Metadata interfaces
|
| org.infinispan.notifications.cachelistener |
Cache-specific notifications and eventing. |
| org.infinispan.reactive.publisher.impl | |
| org.infinispan.security.actions | |
| org.infinispan.security.impl | |
| org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
| org.infinispan.stream |
Cache stream processing.
|
| org.infinispan.stream.impl | |
| org.infinispan.stream.impl.interceptor | |
| org.infinispan.stream.impl.local | |
| org.infinispan.transaction.impl | |
| org.infinispan.transaction.xa |
XA transaction support.
|
| org.infinispan.util |
General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and
collections and containers designed to supplement the JDK-provided containers.
|
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
AdvancedCache.getCacheEntry(Object key)
Retrieves a CacheEntry corresponding to a specific key.
|
| Modifier and Type | Method and Description |
|---|---|
CacheSet<CacheEntry<K,V>> |
AdvancedCache.cacheEntrySet()
Identical to
Cache.entrySet() but is typed to return CacheEntries instead of Entries. |
Map<K,CacheEntry<K,V>> |
AdvancedCache.getAllCacheEntries(Set<?> keys)
Gets a collection of entries from the
AdvancedCache, returning them as Map of the cache entries
associated with the set of keys requested. |
default CompletableFuture<CacheEntry<K,V>> |
AdvancedCache.getCacheEntryAsync(Object key)
Retrieves a CacheEntry corresponding to a specific key.
|
Iterator<CacheEntry<K,V>> |
LockedStream.iterator()
This method is not supported when using a
LockedStream |
Spliterator<CacheEntry<K,V>> |
LockedStream.spliterator()
This method is not supported when using a
LockedStream |
| Modifier and Type | Method and Description |
|---|---|
LockedStream<K,V> |
LockedStream.filter(Predicate<? super CacheEntry<K,V>> predicate)
Returns a locked stream consisting of the elements of this stream that match
the given predicate.
|
default LockedStream<K,V> |
LockedStream.filter(SerializablePredicate<? super CacheEntry<K,V>> predicate)
Same as
LockedStream.filter(Predicate) except that the Predicate must also
implement Serializable |
void |
LockedStream.forEach(BiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer)
Performs an action for each element of this stream on the primary owner of the given key.
|
default void |
LockedStream.forEach(SerializableBiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer)
Same as
LockedStream.forEach(BiConsumer) except that the BiConsumer must also
implement Serializable |
<R> Map<K,R> |
LockedStream.invokeAll(BiFunction<Cache<K,V>,? super CacheEntry<K,V>,R> biFunction)
Performs a BiFunction for each element of this stream on the primary owner of each entry returning
a value.
|
default <R> Map<K,R> |
LockedStream.invokeAll(SerializableBiFunction<Cache<K,V>,? super CacheEntry<K,V>,R> biFunction)
Same as
LockedStream.invokeAll(BiFunction) except that the BiFunction must also
implement Serializable |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
AbstractDelegatingAdvancedCache.getCacheEntry(Object key) |
CacheEntry<K,V> |
CacheImpl.getCacheEntry(Object key) |
CacheEntry<K,V> |
DecoratedCache.getCacheEntry(Object key) |
CacheEntry<K,V> |
EncoderCache.getCacheEntry(Object key) |
CacheEntry<K,V> |
SimpleCacheImpl.getCacheEntry(Object k) |
CacheEntry<K,V> |
StatsCollectingCache.getCacheEntry(Object k) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleCacheImpl.CacheEntrySet.add(CacheEntry<K,V> entry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleCacheImpl.CacheEntrySet.addAll(Collection<? extends CacheEntry<K,V>> c) |
| Modifier and Type | Method and Description |
|---|---|
<K,V,R> ReductionPublisherRequestCommand<K> |
CommandsFactory.buildEntryReductionPublisherCommand(boolean parallelStream,
DeliveryGuarantee deliveryGuarantee,
IntSet segments,
Set<K> keys,
Set<K> excludedKeys,
boolean includeLoader,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer) |
<K,V,R> ReductionPublisherRequestCommand<K> |
CommandsFactoryImpl.buildEntryReductionPublisherCommand(boolean parallelStream,
DeliveryGuarantee deliveryGuarantee,
IntSet segments,
Set<K> keys,
Set<K> excludedKeys,
boolean includeLoader,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer) |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
EntryMergePolicy.merge(CacheEntry<K,V> preferredEntry,
List<CacheEntry<K,V>> otherEntries)
This method is called by
ConflictManager.resolveConflicts() for each conflict discovered to determine
which CacheEntry should be utilised. |
CacheEntry |
MergePolicy.merge(CacheEntry preferredEntry,
List otherEntries) |
CacheEntry |
MergePolicy.UnsupportedMergePolicy.merge(CacheEntry preferredEntry,
List otherEntries) |
| Modifier and Type | Method and Description |
|---|---|
Stream<Map<Address,CacheEntry<K,V>>> |
ConflictManager.getConflicts()
Returns a stream of conflicts detected in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
EntryMergePolicy.merge(CacheEntry<K,V> preferredEntry,
List<CacheEntry<K,V>> otherEntries)
This method is called by
ConflictManager.resolveConflicts() for each conflict discovered to determine
which CacheEntry should be utilised. |
CacheEntry |
MergePolicy.merge(CacheEntry preferredEntry,
List otherEntries) |
CacheEntry |
MergePolicy.UnsupportedMergePolicy.merge(CacheEntry preferredEntry,
List otherEntries) |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
EntryMergePolicy.merge(CacheEntry<K,V> preferredEntry,
List<CacheEntry<K,V>> otherEntries)
This method is called by
ConflictManager.resolveConflicts() for each conflict discovered to determine
which CacheEntry should be utilised. |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<Map<Address,CacheEntry<K,V>>>> |
StateReceiver.getAllReplicasForSegment(int segmentId,
LocalizedCacheTopology topology,
long timeout)
Return all replicas of a cache entry for a given segment.
|
CompletableFuture<List<Map<Address,CacheEntry<K,V>>>> |
StateReceiverImpl.getAllReplicasForSegment(int segmentId,
LocalizedCacheTopology topology,
long timeout) |
Stream<Map<Address,CacheEntry<K,V>>> |
DefaultConflictManager.getConflicts() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InternalCacheEntry<K,V>
Interface for internal cache entries that expose whether an entry has expired.
|
interface |
MVCCEntry<K,V>
An entry that can be safely copied when updates are made, to provide MVCC semantics
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInternalCacheEntry
An abstract internal cache entry that is typically stored in the data container
|
class |
ClearCacheEntry<K,V>
Used in
ClearInvocationContext to process the ClearCommand. |
class |
ForwardingCacheEntry<K,V>
A class designed to forward all method invocations for a CacheEntry to the provided delegate.
|
class |
ImmortalCacheEntry
A cache entry that is immortal/cannot expire
|
class |
L1InternalCacheEntry
A
InternalCacheEntry implementation to store a L1 entry. |
class |
MortalCacheEntry
A cache entry that is mortal.
|
class |
NullCacheEntry<K,V> |
class |
ReadCommittedEntry
A wrapper around a cached entry that encapsulates read committed semantics when writes are initiated, committed or
rolled back.
|
class |
RepeatableReadEntry
An extension of
ReadCommittedEntry that provides Repeatable Read semantics |
class |
TransientCacheEntry
A cache entry that is transient, i.e., it can be considered expired after a period of not being used.
|
class |
TransientMortalCacheEntry
A cache entry that is both transient and mortal.
|
class |
VersionedRepeatableReadEntry
A version of RepeatableReadEntry that can perform write-skew checks during prepare.
|
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
ClearCacheEntry.clone() |
CacheEntry<K,V> |
ForwardingCacheEntry.clone() |
CacheEntry |
NullCacheEntry.clone() |
CacheEntry<K,V> |
CacheEntry.clone() |
protected abstract CacheEntry<K,V> |
ForwardingCacheEntry.delegate() |
| Modifier and Type | Class and Description |
|---|---|
class |
L1MetadataInternalCacheEntry
A
InternalCacheEntry implementation to store a L1 entry. |
class |
MetadataImmortalCacheEntry
A form of
ImmortalCacheEntry that is MetadataAware |
class |
MetadataMortalCacheEntry
A cache entry that is mortal and is
MetadataAware |
class |
MetadataTransientCacheEntry
A cache entry that is transient, i.e., it can be considered expired after a period of not being used, and
MetadataAware |
class |
MetadataTransientMortalCacheEntry
A form of
TransientMortalCacheEntry that stores Metadata |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
InternalEntryFactoryImpl.copy(CacheEntry cacheEntry) |
<K,V> CacheEntry<K,V> |
InternalEntryFactory.copy(CacheEntry<K,V> cacheEntry)
Creates a copy of this cache entry and synchronizes serializes the copy process with the
InternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata). |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
InternalEntryFactoryImpl.copy(CacheEntry cacheEntry) |
<K,V> CacheEntry<K,V> |
InternalEntryFactory.copy(CacheEntry<K,V> cacheEntry)
Creates a copy of this cache entry and synchronizes serializes the copy process with the
InternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata). |
InternalCacheEntry |
InternalEntryFactoryImpl.create(CacheEntry cacheEntry) |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(CacheEntry<K,V> cacheEntry)
Creates a new
InternalCacheEntry instance based on the key, value, version and timestamp/lifespan
information reflected in the CacheEntry instance passed in. |
InternalCacheValue |
InternalEntryFactoryImpl.createValue(CacheEntry cacheEntry) |
<V> InternalCacheValue<V> |
InternalEntryFactory.createValue(CacheEntry<?,V> cacheEntry)
Creates an
InternalCacheValue based on the InternalCacheEntry passed in. |
protected MVCCEntry<?,?> |
EntryFactoryImpl.createWrappedEntry(Object key,
CacheEntry<?,?> cacheEntry) |
void |
EntryFactory.wrapExternalEntry(InvocationContext ctx,
Object key,
CacheEntry externalEntry,
boolean isRead,
boolean isWrite)
Insert an external entry (e.g.
|
void |
EntryFactoryImpl.wrapExternalEntry(InvocationContext ctx,
Object key,
CacheEntry externalEntry,
boolean isRead,
boolean isWrite) |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
EntryLookup.lookupEntry(Object key)
Retrieves an entry from the collection of looked up entries in the current scope.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Object,CacheEntry> |
EntryLookup.getLookedUpEntries()
Deprecated.
Since 9.3, please use
EntryLookup.forEachEntry(BiConsumer) or EntryLookup.lookedUpEntriesCount() instead. |
| Modifier and Type | Method and Description |
|---|---|
void |
EntryLookup.putLookedUpEntry(Object key,
CacheEntry e)
Puts an entry in the registry of looked up entries in the current scope.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
EntryLookup.forEachEntry(BiConsumer<Object,CacheEntry> action)
Execute an action for each entry in the context.
|
default void |
EntryLookup.forEachValue(BiConsumer<Object,CacheEntry> action)
Execute an action for each value in the context.
|
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
SingleKeyNonTxInvocationContext.getCacheEntry() |
CacheEntry |
AbstractTxInvocationContext.lookupEntry(Object key) |
CacheEntry |
ClearInvocationContext.lookupEntry(Object key) |
CacheEntry |
ImmutableContext.lookupEntry(Object key) |
CacheEntry |
NonTxInvocationContext.lookupEntry(Object k) |
CacheEntry |
SingleKeyNonTxInvocationContext.lookupEntry(Object key) |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,CacheEntry> |
AbstractTxInvocationContext.getLookedUpEntries() |
Map<Object,CacheEntry> |
ClearInvocationContext.getLookedUpEntries() |
Map<Object,CacheEntry> |
ImmutableContext.getLookedUpEntries() |
Map<Object,CacheEntry> |
NonTxInvocationContext.getLookedUpEntries() |
Map<Object,CacheEntry> |
SingleKeyNonTxInvocationContext.getLookedUpEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTxInvocationContext.putLookedUpEntry(Object key,
CacheEntry e) |
void |
ClearInvocationContext.putLookedUpEntry(Object key,
CacheEntry e) |
void |
ImmutableContext.putLookedUpEntry(Object key,
CacheEntry e) |
void |
NonTxInvocationContext.putLookedUpEntry(Object key,
CacheEntry e) |
void |
SingleKeyNonTxInvocationContext.putLookedUpEntry(Object key,
CacheEntry e) |
| Modifier and Type | Method and Description |
|---|---|
void |
NonTxInvocationContext.forEachEntry(BiConsumer<Object,CacheEntry> action) |
void |
SingleKeyNonTxInvocationContext.forEachEntry(BiConsumer<Object,CacheEntry> action) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V,C> CacheStream<CacheEntry<K,C>> |
CacheFilters.filterAndConvert(CacheStream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
static <K,V,C> Stream<CacheEntry<K,C>> |
CacheFilters.filterAndConvert(Stream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter)
Adds needed intermediate operations to the provided stream, returning a possibly new stream as a result of the
operations.
|
static <K,V,C> Function<CacheEntry<K,V>,Stream<CacheEntry<K,C>>> |
CacheFilters.flatMap(KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
static <K,V,C> Function<CacheEntry<K,V>,Stream<CacheEntry<K,C>>> |
CacheFilters.flatMap(KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
static <K,V,C> Function<CacheEntry<K,V>,CacheEntry<K,C>> |
CacheFilters.function(Converter<? super K,? super V,C> converter)
Creates a new
Function using the provided converter as a basis for the operation. |
static <K,V,C> Function<CacheEntry<K,V>,CacheEntry<K,C>> |
CacheFilters.function(Converter<? super K,? super V,C> converter)
Creates a new
Function using the provided converter as a basis for the operation. |
static <K,V> Predicate<CacheEntry<K,V>> |
CacheFilters.predicate(KeyValueFilter<? super K,? super V> filter)
Creates a new
Predicate using the provided key value filter as a basis for the operation. |
| Modifier and Type | Method and Description |
|---|---|
static <K,V,C> CacheStream<CacheEntry<K,C>> |
CacheFilters.filterAndConvert(CacheStream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
static <K,V,C> Stream<CacheEntry<K,C>> |
CacheFilters.filterAndConvert(Stream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter)
Adds needed intermediate operations to the provided stream, returning a possibly new stream as a result of the
operations.
|
static <K,V,C> CacheStream<C> |
CacheFilters.filterAndConvertToValue(CacheStream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
| Modifier and Type | Method and Description |
|---|---|
static <T> StatsEnvelope<T> |
StatsEnvelope.create(T returnValue,
CacheEntry<?,?> e,
boolean exists,
boolean isRead) |
void |
FunctionalNotifierImpl.notifyOnCreate(CacheEntry entry) |
void |
FunctionalNotifier.notifyOnCreate(CacheEntry<K,V> entry)
Notify registered
ReadWriteListener instances of the created entry. |
void |
FunctionalNotifier.notifyOnModify(CacheEntry<K,V> entry,
V previousValue,
Metadata previousMetadata)
Notify registered
ReadWriteListener instances of the modified
entry passing the previous and new value. |
void |
FunctionalNotifierImpl.notifyOnModify(CacheEntry<K,V> entry,
V previousValue,
Metadata previousMetadata) |
void |
FunctionalNotifier.notifyOnWrite(CacheEntry<K,V> entry) |
void |
FunctionalNotifierImpl.notifyOnWrite(CacheEntry<K,V> entry) |
static <K,V> EntryView.ReadEntryView<K,V> |
EntryViews.readOnly(CacheEntry entry) |
static <K,V> EntryView.ReadEntryView<K,V> |
EntryViews.readOnly(CacheEntry<K,V> entry,
DataConversion keyDataConversion,
DataConversion valueDataConversion) |
static <K,V> EntryView.WriteEntryView<K,V> |
EntryViews.writeOnly(CacheEntry entry,
DataConversion valueDataConversion) |
| Modifier and Type | Field and Description |
|---|---|
protected CacheSet<CacheEntry<K,V>> |
DistributionBulkInterceptor.BackingEntrySet.entrySet |
| Modifier and Type | Method and Description |
|---|---|
CloseableIterator<CacheEntry<K,V>> |
DistributionBulkInterceptor.BackingEntrySet.iterator() |
CacheStream<CacheEntry<K,V>> |
DistributionBulkInterceptor.BackingEntrySet.parallelStream() |
CacheStream<CacheEntry<K,V>> |
DistributionBulkInterceptor.TxBackingEntrySet.parallelStream() |
CloseableSpliterator<CacheEntry<K,V>> |
DistributionBulkInterceptor.BackingEntrySet.spliterator() |
CacheStream<CacheEntry<K,V>> |
DistributionBulkInterceptor.BackingEntrySet.stream() |
CacheStream<CacheEntry<K,V>> |
DistributionBulkInterceptor.TxBackingEntrySet.stream() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
BaseDistributionInterceptor.wrapFunctionalResultOnNonOriginOnReturn(Object rv,
CacheEntry entry) |
protected Object |
VersionedDistributionInterceptor.wrapFunctionalResultOnNonOriginOnReturn(Object rv,
CacheEntry entry) |
protected void |
BaseDistributionInterceptor.wrapRemoteEntry(InvocationContext ctx,
Object key,
CacheEntry ice,
boolean isWrite) |
protected void |
VersionedDistributionInterceptor.wrapRemoteEntry(InvocationContext ctx,
Object key,
CacheEntry ice,
boolean isWrite) |
| Constructor and Description |
|---|
PrimaryResponseGenerator(CacheEntry cacheEntry,
Object rv) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletionStage<Void> |
VersionedEntryWrappingInterceptor.commitContextEntry(CacheEntry<?,?> entry,
InvocationContext ctx,
FlagAffectedCommand command,
Flag stateTransferFlag,
boolean l1Invalidation) |
protected CompletionStage<Void> |
EntryWrappingInterceptor.commitContextEntry(CacheEntry<?,?> entry,
InvocationContext ctx,
FlagAffectedCommand command,
Flag stateTransferFlag,
boolean l1Invalidation) |
protected void |
AbstractIracLocalSiteInterceptor.setIracMetadata(CacheEntry<?,?> entry,
IracMetadata metadata) |
protected void |
AbstractIracLocalSiteInterceptor.setMetadataToCacheEntry(CacheEntry<?,?> entry,
IracMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
ClusteringDependentLogic.commitEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation)
Commits the entry to the data container.
|
CompletionStage<Void> |
ClusteringDependentLogic.AbstractClusteringDependentLogic.commitEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
CompletionStage<Void> |
OrderedClusteringDependentLogic.commitEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected abstract CompletionStage<Void> |
ClusteringDependentLogic.AbstractClusteringDependentLogic.commitSingleEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected CompletionStage<Void> |
ClusteringDependentLogic.LocalLogic.commitSingleEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected CompletionStage<Void> |
ClusteringDependentLogic.InvalidationLogic.commitSingleEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected CompletionStage<Void> |
ClusteringDependentLogic.ReplicationLogic.commitSingleEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected CompletionStage<Void> |
ClusteringDependentLogic.DistributionLogic.commitSingleEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected CompletableFuture<Void> |
ClusteringDependentLogic.ScatteredLogic.commitSingleEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Metadatas.updateMetadata(CacheEntry entry,
Metadata providedMetadata)
Set the
providedMetadata on the cache entry. |
| Modifier and Type | Method and Description |
|---|---|
Set<CacheEntry<K,V>> |
QueueingSegmentListener.findCreatedEntries()
This method is to be called just before marking the transfer as complete and after all keys have been manually
processed.
|
| Modifier and Type | Method and Description |
|---|---|
static CompletionStage<Void> |
NotifyHelper.entryCommitted(CacheNotifier notifier,
FunctionalNotifier functionalNotifier,
boolean created,
boolean removed,
boolean expired,
CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Object previousValue,
Metadata previousMetadata,
EvictionManager evictionManager) |
| Modifier and Type | Field and Description |
|---|---|
protected CacheSet<CacheEntry<K,V>> |
LocalPublisherManagerImpl.entrySet |
protected CacheSet<CacheEntry<K,V>> |
LocalPublisherManagerImpl.entrySetWithoutLoader |
| Modifier and Type | Method and Description |
|---|---|
<R> SegmentCompletionPublisher<R> |
ClusterPublisherManager.entryPublisher(IntSet segments,
Set<K> keysToInclude,
InvocationContext invocationContext,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
int batchSize,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends org.reactivestreams.Publisher<R>> transformer)
Performs the given transformer on data in the cache, resulting in multiple values.
|
<R> SegmentCompletionPublisher<R> |
ClusterPublisherManagerImpl.entryPublisher(IntSet segments,
Set<K> keysToInclude,
InvocationContext invocationContext,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
int batchSize,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends org.reactivestreams.Publisher<R>> transformer) |
<R> SegmentCompletionPublisher<R> |
LocalClusterPublisherManagerImpl.entryPublisher(IntSet segments,
Set<K> keysToInclude,
InvocationContext invocationContext,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
int batchSize,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends org.reactivestreams.Publisher<R>> transformer) |
<R> SegmentCompletionPublisher<R> |
PartitionAwareClusterPublisherManager.entryPublisher(IntSet segments,
Set<K> keysToInclude,
InvocationContext invocationContext,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
int batchSize,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends org.reactivestreams.Publisher<R>> transformer) |
<R> SegmentAwarePublisher<R> |
LocalPublisherManager.entryPublisher(IntSet segments,
Set<K> keysToInclude,
Set<K> keysToExclude,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends org.reactivestreams.Publisher<R>> transformer)
Performs the given transformer on data in the cache that is local, resulting in a stream of values of
possibly varying size.
|
<R> SegmentAwarePublisher<R> |
LocalPublisherManagerImpl.entryPublisher(IntSet segments,
Set<K> keysToInclude,
Set<K> keysToExclude,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends org.reactivestreams.Publisher<R>> transformer) |
<R> CompletionStage<R> |
ClusterPublisherManager.entryReduction(boolean parallelPublisher,
IntSet segments,
Set<K> keysToInclude,
InvocationContext invocationContext,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer)
Performs the given transformer and finalizer on data in the cache, resulting in a single value.
|
<R> CompletionStage<R> |
ClusterPublisherManagerImpl.entryReduction(boolean parallelPublisher,
IntSet segments,
Set<K> keysToInclude,
InvocationContext ctx,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer) |
<R> CompletionStage<R> |
LocalClusterPublisherManagerImpl.entryReduction(boolean parallelPublisher,
IntSet segments,
Set<K> keysToInclude,
InvocationContext invocationContext,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer) |
<R> CompletionStage<R> |
PartitionAwareClusterPublisherManager.entryReduction(boolean parallelPublisher,
IntSet segments,
Set<K> keysToInclude,
InvocationContext ctx,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer) |
<R> CompletionStage<PublisherResult<R>> |
LocalPublisherManager.entryReduction(boolean parallelPublisher,
IntSet segments,
Set<K> keysToInclude,
Set<K> keysToExclude,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> transformer,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer)
Performs the given transformer and finalizer on data in the cache that is local, resulting in a
single value.
|
<R> CompletionStage<PublisherResult<R>> |
LocalPublisherManagerImpl.entryReduction(boolean parallelPublisher,
IntSet segments,
Set<K> keysToInclude,
Set<K> keysToExclude,
boolean includeLoader,
DeliveryGuarantee deliveryGuarantee,
Function<? super org.reactivestreams.Publisher<CacheEntry<K,V>>,? extends CompletionStage<R>> collator,
Function<? super org.reactivestreams.Publisher<R>,? extends CompletionStage<R>> finalizer) |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
GetCacheEntryAction.run() |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<CacheEntry<K,V>> |
GetCacheEntryAsyncAction.run() |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<K,V> |
SecureCacheImpl.getCacheEntry(Object key) |
| Modifier and Type | Method and Description |
|---|---|
CacheSet<CacheEntry<K,V>> |
SecureCacheImpl.cacheEntrySet() |
Map<K,CacheEntry<K,V>> |
SecureCacheImpl.getAllCacheEntries(Set<?> keys) |
CompletableFuture<CacheEntry<K,V>> |
SecureCacheImpl.getCacheEntryAsync(Object key) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
CommitManager.commit(CacheEntry entry,
Flag operation,
int segment,
boolean l1Only,
InvocationContext ctx)
It tries to commit the cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Function<K,CacheEntry<K,V>> |
StreamMarshalling.keyToEntryFunction()
Provides a function that given a key will return the
CacheEntry that maps to this
key. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<CacheEntry<K,V>> |
LockedStreamImpl.iterator() |
Spliterator<CacheEntry<K,V>> |
LockedStreamImpl.spliterator() |
| Modifier and Type | Method and Description |
|---|---|
LockedStream<K,V> |
LockedStreamImpl.filter(Predicate<? super CacheEntry<K,V>> predicate) |
void |
TxLockedStreamImpl.forEach(BiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer) |
void |
LockedStreamImpl.forEach(BiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer) |
<R> Map<K,R> |
TxLockedStreamImpl.invokeAll(BiFunction<Cache<K,V>,? super CacheEntry<K,V>,R> biFunction) |
<R> Map<K,R> |
LockedStreamImpl.invokeAll(BiFunction<Cache<K,V>,? super CacheEntry<K,V>,R> biFunction) |
| Constructor and Description |
|---|
LockedStreamImpl(CacheStream<CacheEntry<K,V>> realStream,
long time,
TimeUnit unit) |
TxLockedStreamImpl(TransactionManager tm,
CacheStream<CacheEntry<K,V>> realStream,
long time,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
protected CacheSet<CacheEntry<K,V>> |
AbstractDelegatingEntryCacheSet.delegate() |
protected CacheStream<CacheEntry<K,V>> |
AbstractDelegatingEntryCacheSet.getStream(boolean parallel) |
CacheStream<CacheEntry<K,V>> |
AbstractDelegatingEntryCacheSet.parallelStream() |
CacheStream<CacheEntry<K,V>> |
AbstractDelegatingEntryCacheSet.stream() |
| Constructor and Description |
|---|
AbstractDelegatingEntryCacheSet(Cache<K,V> cache,
CacheSet<CacheEntry<K,V>> set) |
| Modifier and Type | Method and Description |
|---|---|
Stream<CacheEntry<K,V>> |
EntryStreamSupplier.buildStream(IntSet segmentsToFilter,
Set<?> keysToFilter,
boolean parallel) |
Stream<CacheEntry<K,V>> |
PersistenceEntryStreamSupplier.buildStream(IntSet segmentsToFilter,
Set<?> keysToFilter,
boolean parallel) |
Stream<CacheEntry<K,V>> |
SegmentedEntryStreamSupplier.buildStream(IntSet segmentsToFilter,
Set<?> keysToFilter,
boolean parallel) |
| Constructor and Description |
|---|
EntryStreamSupplier(Cache<K,V> cache,
ToIntFunction<Object> toIntFunction,
Supplier<Stream<CacheEntry<K,V>>> supplier) |
PersistenceEntryStreamSupplier(Cache<K,V> cache,
InternalEntryFactory iceFactory,
ToIntFunction<Object> toIntFunction,
CacheStream<CacheEntry<K,V>> inMemoryStream,
PersistenceManager persistenceManager) |
ValueCacheCollection(Cache<K,V> cache,
CacheSet<CacheEntry<K,V>> cacheSet) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,CacheEntry> |
AbstractCacheTransaction.lookedUpEntries |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
AbstractCacheTransaction.lookupEntry(Object key) |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,CacheEntry> |
AbstractCacheTransaction.getLookedUpEntries() |
Map<Object,CacheEntry> |
LocalTransaction.getLookedUpEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
LocalTransaction.putLookedUpEntry(Object key,
CacheEntry e) |
void |
RemoteTransaction.putLookedUpEntry(Object key,
CacheEntry e) |
static IncrementableEntryVersion |
WriteSkewHelper.versionFromEntry(CacheEntry<?,?> entry) |
| Modifier and Type | Method and Description |
|---|---|
void |
LocalTransaction.putLookedUpEntries(Map<Object,CacheEntry> entries) |
void |
RemoteTransaction.putLookedUpEntries(Map<Object,CacheEntry> entries) |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
CacheTransaction.lookupEntry(Object key) |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,CacheEntry> |
CacheTransaction.getLookedUpEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheTransaction.putLookedUpEntry(Object key,
CacheEntry e) |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheTransaction.putLookedUpEntries(Map<Object,CacheEntry> entries) |
| Modifier and Type | Class and Description |
|---|---|
class |
EntryWrapper<K,V>
Wrapper for CacheEntry(s) that can be used to update the cache when it's value is set.
|
| Modifier and Type | Method and Description |
|---|---|
protected CacheEntry<K,V> |
EntryWrapper.delegate() |
CacheEntry<K,V> |
DataContainerRemoveIterator.next() |
| Constructor and Description |
|---|
EntryWrapper(Cache<K,V> cache,
CacheEntry<K,V> entry)
Creates a new entry wrapper given the cache and entry.
|
Copyright © 2022 JBoss by Red Hat. All rights reserved.