| Modifier and Type | Method and Description |
|---|---|
V |
AdvancedCache.put(K key,
V value,
Metadata metadata)
An overloaded form of
#put(K, V), which takes in an instance of
Metadata which can be used to provide metadata information for
the entry being stored, such as lifespan, version of value...etc. |
void |
AdvancedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata)
An overloaded form of
Map.putAll(Map), which takes in an instance of
Metadata which can be used to provide metadata information for
the entries being stored, such as lifespan, version of value...etc. |
NotifyingFuture<V> |
AdvancedCache.putAsync(K key,
V value,
Metadata metadata)
Asynchronous version of
AdvancedCache.put(Object, Object, Metadata) which stores
metadata alongside the value. |
void |
AdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata)
An overloaded form of
#putForExternalRead(K, V), which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
V |
AdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata)
An overloaded form of
#putIfAbsent(K, V), which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
V |
AdvancedCache.replace(K key,
V value,
Metadata metadata)
An overloaded form of
#replace(K, V), which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
boolean |
AdvancedCache.replace(K key,
V oldValue,
V newValue,
Metadata metadata)
An overloaded form of
#replace(K, V, V), which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
CacheImpl.defaultMetadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
SimpleCacheImpl.ValueAndMetadata.getMetadata() |
Metadata |
SimpleCacheImpl.CacheEntryChange.getOldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
protected V |
StatsCollectingCache.getAndPutInternal(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.getAndPutInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.getAndReplaceInternal(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.getAndReplaceInternal(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.put(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.put(K key,
V value,
Metadata metadata) |
V |
CacheImpl.put(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.put(K key,
V value,
Metadata metadata) |
void |
DecoratedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
AbstractDelegatingAdvancedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
CacheImpl.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
SimpleCacheImpl.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
protected void |
SimpleCacheImpl.putAllInternal(Map<? extends K,? extends V> map,
Metadata metadata) |
NotifyingFuture<V> |
DecoratedCache.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
AbstractDelegatingAdvancedCache.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
CacheImpl.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
SimpleCacheImpl.putAsync(K key,
V value,
Metadata metadata) |
void |
DecoratedCache.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
CacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
SimpleCacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
protected void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
StatsCollectingCache.putForExternalReadInternal(K key,
V value,
Metadata metadata,
ByRef.Boolean isCreatedRef) |
protected void |
SimpleCacheImpl.putForExternalReadInternal(K key,
V value,
Metadata metadata,
ByRef.Boolean isCreatedRef) |
V |
DecoratedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
CacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.putIfAbsentInternal(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.putIfAbsentInternal(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.replace(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.replace(K key,
V value,
Metadata metadata) |
V |
CacheImpl.replace(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.replace(K key,
V value,
Metadata metadata) |
boolean |
DecoratedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
AbstractDelegatingAdvancedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
CacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
SimpleCacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
protected boolean |
StatsCollectingCache.replaceInternal(K key,
V oldValue,
V value,
Metadata metadata) |
protected boolean |
SimpleCacheImpl.replaceInternal(K key,
V oldValue,
V value,
Metadata metadata) |
void |
SimpleCacheImpl.CacheEntryChange.set(K key,
V newValue,
V oldValue,
Metadata oldMetadata) |
void |
SimpleCacheImpl.ValueAndMetadata.set(V value,
Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
AbstractCodec.encodeMetadata(Cache<?,?> cache,
Long expires,
Long maxIdle) |
Metadata |
Codec.encodeMetadata(Cache<?,?> cache,
Long expires,
Long maxIdle) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
MetadataAwareCommand.getMetadata()
Get metadata of this command.
|
Metadata |
AbstractFlagAffectedCommand.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
PutKeyValueCommand |
CommandsFactoryImpl.buildPutKeyValueCommand(Object key,
Object value,
Metadata metadata,
Set<Flag> flags) |
PutKeyValueCommand |
CommandsFactory.buildPutKeyValueCommand(Object key,
Object value,
Metadata metadata,
Set<Flag> flags)
Builds a PutKeyValueCommand
|
PutMapCommand |
CommandsFactoryImpl.buildPutMapCommand(Map<?,?> map,
Metadata metadata,
Set<Flag> flags) |
PutMapCommand |
CommandsFactory.buildPutMapCommand(Map<?,?> map,
Metadata metadata,
Set<Flag> flags)
Builds a PutMapCommand
|
ReplaceCommand |
CommandsFactoryImpl.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
Metadata metadata,
Set<Flag> flags) |
ReplaceCommand |
CommandsFactory.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
Metadata metadata,
Set<Flag> flags)
Builds a ReplaceCommand
|
void |
MetadataAwareCommand.setMetadata(Metadata metadata)
Sets metadata for this command.
|
void |
AbstractFlagAffectedCommand.setMetadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
LockControlCommand.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
LockControlCommand.setMetadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
AbstractWriteManyCommand.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractWriteManyCommand.setMetadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
PutMapCommand.getMetadata() |
Metadata |
PutKeyValueCommand.getMetadata() |
Metadata |
ReplaceCommand.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoveCommand.notify(InvocationContext ctx,
Object removedValue,
Metadata removedMetadata,
boolean isPre) |
void |
InvalidateCommand.notify(InvocationContext ctx,
Object removedValue,
Metadata removedMetadata,
boolean isPre) |
void |
RemoveExpiredCommand.notify(InvocationContext ctx,
Object removedValue,
Metadata removedMetadata,
boolean isPre) |
void |
EvictCommand.notify(InvocationContext ctx,
Object value,
Metadata previousMetadata,
boolean isPre) |
void |
PutMapCommand.setMetadata(Metadata metadata) |
void |
PutKeyValueCommand.setMetadata(Metadata metadata) |
void |
ReplaceCommand.setMetadata(Metadata metadata) |
| Constructor and Description |
|---|
PutKeyValueCommand(Object key,
Object value,
boolean putIfAbsent,
CacheNotifier notifier,
Metadata metadata,
Set<Flag> flags,
Equivalence valueEquivalence,
CommandInvocationId commandInvocationId) |
PutMapCommand(Map<?,?> map,
CacheNotifier notifier,
Metadata metadata,
Set<Flag> flags,
CommandInvocationId commandInvocationId) |
ReplaceCommand(Object key,
Object oldValue,
Object newValue,
CacheNotifier notifier,
Metadata metadata,
Set<Flag> flags,
Equivalence valueEquivalence,
CommandInvocationId commandInvocationId) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(K key,
V value,
Metadata metadata)
Creates a new
InternalCacheEntry instance |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(K key,
V value,
Metadata metadata,
long lifespan,
long maxIdle)
Creates a new
InternalCacheEntry instance |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(K key,
V value,
Metadata metadata,
long created,
long lifespan,
long lastUsed,
long maxIdle)
Creates a new
InternalCacheEntry instance |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
long lifespan,
long maxIdle) |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
long created,
long lifespan,
long lastUsed,
long maxIdle) |
<K,V> InternalCacheEntry |
InternalEntryFactoryImpl.createL1(K key,
V value,
Metadata metadata) |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.createL1(K key,
V value,
Metadata metadata)
Creates a L1 entry.
|
void |
DataContainer.put(K k,
V v,
Metadata metadata)
Puts an entry in the cache along with metadata adding information such lifespan of entry, max idle time, version
information...etc.
|
void |
DefaultDataContainer.put(K k,
V v,
Metadata metadata) |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.update(InternalCacheEntry<K,V> cacheEntry,
Metadata metadata)
TODO: Adjust javadoc
Updates an existing
InternalCacheEntry with new metadata. |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.update(InternalCacheEntry<K,V> cacheEntry,
V value,
Metadata metadata)
Similar to
InternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata)
but it also updates the InternalCacheEntry value. |
InternalCacheEntry |
InternalEntryFactoryImpl.update(InternalCacheEntry ice,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactoryImpl.update(InternalCacheEntry cacheEntry,
Object value,
Metadata metadata) |
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
ReadCommittedEntry.metadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
NullCacheEntry.getMetadata() |
Metadata |
TransientCacheEntry.getMetadata() |
Metadata |
MortalCacheEntry.getMetadata() |
Metadata |
ImmortalCacheValue.getMetadata() |
Metadata |
DeltaAwareCacheEntry.getMetadata() |
Metadata |
ClearCacheEntry.getMetadata() |
Metadata |
TransientMortalCacheEntry.getMetadata() |
Metadata |
ImmortalCacheEntry.getMetadata() |
Metadata |
ReadCommittedEntry.getMetadata() |
Metadata |
ForwardingCacheEntry.getMetadata() |
Metadata |
AbstractInternalCacheEntry.getMetadata() |
Metadata |
InternalCacheValue.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
DeltaAwareCacheEntry.commit(DataContainer<K,DeltaAware> container,
Metadata metadata) |
void |
ClearCacheEntry.commit(DataContainer<K,V> container,
Metadata metadata) |
void |
CacheEntry.commit(DataContainer<K,V> container,
Metadata metadata)
Commits changes
|
void |
NullCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
ReadCommittedEntry.commit(DataContainer container,
Metadata providedMetadata) |
void |
ForwardingCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
AbstractInternalCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
NullCacheEntry.setMetadata(Metadata metadata) |
void |
TransientCacheEntry.setMetadata(Metadata metadata) |
void |
MortalCacheEntry.setMetadata(Metadata metadata) |
void |
DeltaAwareCacheEntry.setMetadata(Metadata metadata) |
void |
ClearCacheEntry.setMetadata(Metadata metadata) |
void |
TransientMortalCacheEntry.setMetadata(Metadata metadata) |
void |
ImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
ReadCommittedEntry.setMetadata(Metadata metadata) |
void |
ForwardingCacheEntry.setMetadata(Metadata metadata) |
void |
AbstractInternalCacheEntry.setMetadata(Metadata metadata) |
| Constructor and Description |
|---|
ClusteredRepeatableReadEntry(Object key,
Object value,
Metadata metadata) |
ReadCommittedEntry(Object key,
Object value,
Metadata metadata) |
RepeatableReadEntry(Object key,
Object value,
Metadata metadata) |
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
MetadataImmortalCacheEntry.metadata |
protected Metadata |
MetadataMortalCacheEntry.metadata |
protected Metadata |
MetadataTransientCacheEntry.metadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
MetadataImmortalCacheEntry.getMetadata() |
Metadata |
MetadataTransientMortalCacheEntry.getMetadata() |
Metadata |
MetadataMortalCacheEntry.getMetadata() |
Metadata |
MetadataImmortalCacheValue.getMetadata() |
Metadata |
MetadataTransientCacheValue.getMetadata() |
Metadata |
MetadataAware.getMetadata()
Get metadata of this cache entry.
|
Metadata |
MetadataMortalCacheValue.getMetadata() |
Metadata |
MetadataTransientCacheEntry.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
MetadataImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataTransientMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataImmortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheValue.setMetadata(Metadata metadata) |
void |
MetadataAware.setMetadata(Metadata metadata)
Set the metadata in the cache entry.
|
void |
MetadataMortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheEntry.setMetadata(Metadata metadata) |
| Constructor and Description |
|---|
L1MetadataInternalCacheEntry(Object key,
Object value,
Metadata metadata,
long created) |
MetadataImmortalCacheEntry(Object key,
Object value,
Metadata metadata) |
MetadataImmortalCacheValue(Object value,
Metadata metadata) |
MetadataMortalCacheEntry(Object key,
Object value,
Metadata metadata,
long created) |
MetadataMortalCacheValue(Object value,
Metadata metadata,
long created) |
MetadataTransientCacheEntry(Object key,
Object value,
Metadata metadata,
long lastUsed) |
MetadataTransientCacheValue(Object value,
Metadata metadata,
long lastUsed) |
MetadataTransientMortalCacheEntry(Object key,
Object value,
Metadata metadata,
long now) |
MetadataTransientMortalCacheEntry(Object key,
Object value,
Metadata metadata,
long lastUsed,
long created) |
MetadataTransientMortalCacheValue(Object v,
Metadata metadata,
long created,
long lastUsed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractKeyValueFilterConverter.accept(K key,
V value,
Metadata metadata) |
boolean |
KeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
CompositeKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
KeyFilterAsKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
AcceptAllKeyValueFilter.accept(Object key,
Object value,
Metadata metadata) |
C |
AbstractKeyValueFilterConverter.convert(K key,
V value,
Metadata metadata) |
C |
Converter.convert(K key,
V value,
Metadata metadata) |
Void |
NullValueConverter.convert(Object key,
Object value,
Metadata metadata) |
C |
KeyValueFilterConverter.filterAndConvert(K key,
V value,
Metadata metadata)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetaParamsInternalMetadata
Metadata parameters backed internal metadata representation.
|
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
MetaParamsInternalMetadata.from(MetaParams params) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> EntryView.ReadEntryView<K,V> |
EntryViews.readOnly(K key,
V value,
Metadata metadata) |
static <K,V> EntryView.ReadWriteEntryView<K,V> |
EntryViews.readWrite(CacheEntry<K,V> entry,
V prevValue,
Metadata prevMetadata) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EntryWrappingInterceptor.commitContextEntries(InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata)
Deprecated.
|
protected void |
VersionedEntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata,
Flag stateTransferFlag,
boolean l1Invalidation)
Deprecated.
|
protected void |
EntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata,
Flag stateTransferFlag,
boolean l1Invalidation)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusteringDependentLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
void |
ClusteringDependentLogic.AbstractClusteringDependentLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected abstract void |
ClusteringDependentLogic.AbstractClusteringDependentLogic.commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected void |
ClusteringDependentLogic.LocalLogic.commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected void |
ClusteringDependentLogic.InvalidationLogic.commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected void |
ClusteringDependentLogic.ReplicationLogic.commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected void |
ClusteringDependentLogic.DistributionLogic.commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
protected void |
ClusteringDependentLogic.AbstractClusteringDependentLogic.notifyCommitEntry(boolean created,
boolean removed,
boolean expired,
CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Object previousValue,
Metadata previousMetadata) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TotalOrderVersionedEntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata,
Flag stateTransferFlag,
boolean l1Invalidation)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JCacheInternalMetadata
Metadata for entries stored via JCache API
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
InternalMetadata |
| Modifier and Type | Class and Description |
|---|---|
class |
EmbeddedMetadata
Metadata class for embedded caches.
|
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata |
EmbeddedMetadata.Builder.build() |
Metadata |
Metadata.Builder.build()
Build a metadata instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata.Builder |
EmbeddedMetadata.Builder.merge(Metadata metadata) |
Metadata.Builder |
Metadata.Builder.merge(Metadata metadata)
Merges the given metadata information into the given builder.
|
static void |
Metadatas.updateMetadata(CacheEntry entry,
Metadata providedMetadata)
Set the
providedMetadata on the cache entry. |
| Modifier and Type | Class and Description |
|---|---|
class |
InternalMetadataImpl |
class |
L1Metadata
Metadata implementation that must be passed to the DataContainer.put(Object, Object, org.infinispan.metadata.Metadata) when the entry to store
is a L1 entry. |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
InternalMetadataImpl.actual() |
Metadata |
L1Metadata.metadata() |
| Constructor and Description |
|---|
InternalMetadataImpl(Metadata actual,
long created,
long lastUsed) |
L1Metadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheNotifier.notifyCacheEntryCreated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryCreatedEvent event. |
void |
CacheNotifierImpl.notifyCacheEntryCreated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
void |
CacheNotifier.notifyCacheEntryExpired(K key,
V value,
Metadata metadata,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryExpired event.
|
void |
CacheNotifierImpl.notifyCacheEntryExpired(K key,
V value,
Metadata metadata,
InvocationContext ctx) |
void |
CacheNotifier.notifyCacheEntryInvalidated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryInvalidatedEvent event. |
void |
CacheNotifierImpl.notifyCacheEntryInvalidated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
void |
CacheNotifier.notifyCacheEntryModified(K key,
V value,
Metadata metadata,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryModifiedEvent event. |
void |
CacheNotifierImpl.notifyCacheEntryModified(K key,
V value,
Metadata metadata,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
void |
CacheNotifier.notifyCacheEntryRemoved(K key,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryRemovedEvent event. |
void |
CacheNotifierImpl.notifyCacheEntryRemoved(K key,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
ClusterEvent.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
CacheEntryEvent.getMetadata()
Retrieves the metadata associated with the entry.
|
| Modifier and Type | Method and Description |
|---|---|
Metadata |
EventImpl.getMetadata() |
Metadata |
EventImpl.getOldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
EventImpl.setMetadata(Metadata metadata) |
void |
EventImpl.setOldMetadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
KeyFilterAsCacheEventFilter.accept(K key,
Object oldValue,
Metadata oldMetadata,
Object newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
CacheEventFilterAsKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
CompositeCacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
PostCacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
KeyValueFilterAsCacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
AbstractCacheEventFilterConverter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
CacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Whether or not this event should be raised to the listener it is attached to.
|
C |
CacheEventConverterAsConverter.convert(K key,
V value,
Metadata metadata) |
C |
ConverterAsCacheEventConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Converts the given newValue into something different possibly.
|
C |
AbstractCacheEventFilterConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventFilterConverterAsKeyValueFilterConverter.filterAndConvert(K key,
V value,
Metadata metadata) |
C |
CacheEventFilterConverter.filterAndConvert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
| Modifier and Type | Method and Description |
|---|---|
V |
SecureCacheImpl.put(K key,
V value,
Metadata metadata) |
void |
SecureCacheImpl.putAll(Map<? extends K,? extends V> m,
Metadata metadata) |
NotifyingFuture<V> |
SecureCacheImpl.putAsync(K key,
V value,
Metadata metadata) |
void |
SecureCacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
V |
SecureCacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
SecureCacheImpl.replace(K key,
V value,
Metadata metadata) |
boolean |
SecureCacheImpl.replace(K key,
V oldValue,
V newValue,
Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommitManager.commit(CacheEntry entry,
Metadata metadata,
Flag operation,
boolean l1Invalidation)
It tries to commit the cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
Metadata |
XSiteState.metadata() |
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.