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 |
SimpleCacheImpl.getAndPutInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.getAndPutInternal(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.getAndReplaceInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.getAndReplaceInternal(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.put(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.put(K key,
V value,
Metadata metadata) |
V |
CacheImpl.put(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.put(K key,
V value,
Metadata metadata) |
void |
AbstractDelegatingAdvancedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
SimpleCacheImpl.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
CacheImpl.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
DecoratedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
protected void |
SimpleCacheImpl.putAllInternal(Map<? extends K,? extends V> map,
Metadata metadata) |
NotifyingFuture<V> |
AbstractDelegatingAdvancedCache.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
SimpleCacheImpl.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
CacheImpl.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
DecoratedCache.putAsync(K key,
V value,
Metadata metadata) |
void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
SimpleCacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
CacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
DecoratedCache.putForExternalRead(K key,
V value,
Metadata metadata) |
protected void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
SimpleCacheImpl.putForExternalReadInternal(K key,
V value,
Metadata metadata,
ByRef.Boolean isCreatedRef) |
protected void |
StatsCollectingCache.putForExternalReadInternal(K key,
V value,
Metadata metadata,
ByRef.Boolean isCreatedRef) |
V |
AbstractDelegatingAdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
CacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.putIfAbsentInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.putIfAbsentInternal(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.replace(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.replace(K key,
V value,
Metadata metadata) |
V |
CacheImpl.replace(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.replace(K key,
V value,
Metadata metadata) |
boolean |
AbstractDelegatingAdvancedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
SimpleCacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
CacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
DecoratedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
protected boolean |
SimpleCacheImpl.replaceInternal(K key,
V oldValue,
V value,
Metadata metadata) |
protected boolean |
StatsCollectingCache.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 |
Codec.encodeMetadata(Cache<?,?> cache,
Long expires,
Long maxIdle) |
Metadata |
AbstractCodec.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 |
CommandsFactory.buildPutKeyValueCommand(Object key,
Object value,
Metadata metadata,
Set<Flag> flags)
Builds a PutKeyValueCommand
|
PutKeyValueCommand |
CommandsFactoryImpl.buildPutKeyValueCommand(Object key,
Object value,
Metadata metadata,
Set<Flag> flags) |
PutMapCommand |
CommandsFactory.buildPutMapCommand(Map<?,?> map,
Metadata metadata,
Set<Flag> flags)
Builds a PutMapCommand
|
PutMapCommand |
CommandsFactoryImpl.buildPutMapCommand(Map<?,?> map,
Metadata metadata,
Set<Flag> flags) |
ReplaceCommand |
CommandsFactory.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
Metadata metadata,
Set<Flag> flags)
Builds a ReplaceCommand
|
ReplaceCommand |
CommandsFactoryImpl.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
Metadata metadata,
Set<Flag> flags) |
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 |
ReplaceCommand.getMetadata() |
Metadata |
PutKeyValueCommand.getMetadata() |
Metadata |
PutMapCommand.getMetadata() |
Modifier and Type | Method and Description |
---|---|
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 |
RemoveCommand.notify(InvocationContext ctx,
Object removedValue,
Metadata removedMetadata,
boolean isPre) |
void |
ReplaceCommand.setMetadata(Metadata metadata) |
void |
PutKeyValueCommand.setMetadata(Metadata metadata) |
void |
PutMapCommand.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<K,V> |
InternalEntryFactory.createL1(K key,
V value,
Metadata metadata)
Creates a L1 entry.
|
<K,V> InternalCacheEntry |
InternalEntryFactoryImpl.createL1(K key,
V value,
Metadata metadata) |
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 |
MortalCacheEntry.getMetadata() |
Metadata |
ImmortalCacheEntry.getMetadata() |
Metadata |
TransientCacheEntry.getMetadata() |
Metadata |
ClearCacheEntry.getMetadata() |
Metadata |
DeltaAwareCacheEntry.getMetadata() |
Metadata |
ReadCommittedEntry.getMetadata() |
Metadata |
TransientMortalCacheEntry.getMetadata() |
Metadata |
NullCacheEntry.getMetadata() |
Metadata |
AbstractInternalCacheEntry.getMetadata() |
Metadata |
InternalCacheValue.getMetadata() |
Metadata |
ImmortalCacheValue.getMetadata() |
Metadata |
ForwardingCacheEntry.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 |
ReadCommittedEntry.commit(DataContainer container,
Metadata providedMetadata) |
void |
NullCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
AbstractInternalCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
ForwardingCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
MortalCacheEntry.setMetadata(Metadata metadata) |
void |
ImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
TransientCacheEntry.setMetadata(Metadata metadata) |
void |
ClearCacheEntry.setMetadata(Metadata metadata) |
void |
DeltaAwareCacheEntry.setMetadata(Metadata metadata) |
void |
ReadCommittedEntry.setMetadata(Metadata metadata) |
void |
TransientMortalCacheEntry.setMetadata(Metadata metadata) |
void |
NullCacheEntry.setMetadata(Metadata metadata) |
void |
AbstractInternalCacheEntry.setMetadata(Metadata metadata) |
void |
ForwardingCacheEntry.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 |
MetadataTransientCacheEntry.metadata |
protected Metadata |
MetadataMortalCacheEntry.metadata |
protected Metadata |
MetadataImmortalCacheEntry.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataTransientMortalCacheEntry.getMetadata() |
Metadata |
MetadataTransientCacheEntry.getMetadata() |
Metadata |
MetadataAware.getMetadata()
Get metadata of this cache entry.
|
Metadata |
MetadataImmortalCacheValue.getMetadata() |
Metadata |
MetadataMortalCacheValue.getMetadata() |
Metadata |
MetadataMortalCacheEntry.getMetadata() |
Metadata |
MetadataImmortalCacheEntry.getMetadata() |
Metadata |
MetadataTransientCacheValue.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
MetadataTransientMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataAware.setMetadata(Metadata metadata)
Set the metadata in the cache entry.
|
void |
MetadataImmortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheValue.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 |
KeyFilterAsKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
CompositeKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
KeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
AbstractKeyValueFilterConverter.accept(K key,
V value,
Metadata metadata) |
boolean |
AcceptAllKeyValueFilter.accept(Object key,
Object value,
Metadata metadata) |
C |
Converter.convert(K key,
V value,
Metadata metadata) |
C |
AbstractKeyValueFilterConverter.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 |
EntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata,
Flag stateTransferFlag,
boolean l1Invalidation)
Deprecated.
|
protected void |
VersionedEntryWrappingInterceptor.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 |
CacheNotifierImpl.notifyCacheEntryCreated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
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.notifyCacheEntryExpired(K key,
V value,
Metadata metadata,
InvocationContext ctx) |
void |
CacheNotifier.notifyCacheEntryExpired(K key,
V value,
Metadata metadata,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryExpired event.
|
void |
CacheNotifierImpl.notifyCacheEntryInvalidated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
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.notifyCacheEntryModified(K key,
V value,
Metadata metadata,
V previousValue,
Metadata previousMetadata,
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.notifyCacheEntryRemoved(K key,
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. |
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 |
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 |
CompositeCacheEventFilter.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 © 2022 JBoss, a division of Red Hat. All rights reserved.