Package | Description |
---|---|
org.infinispan |
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
|
org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
org.infinispan.commands.control | |
org.infinispan.commands.remote |
Meta-commands that wrap other commands for remote execution.
|
org.infinispan.commands.write |
Commands that alter the state of the cache.
|
org.infinispan.container |
Data containers which store cache entries.
|
org.infinispan.container.entries |
Entries which are stored in data containers.
|
org.infinispan.container.entries.metadata | |
org.infinispan.interceptors |
Infinispan is designed around a set of interceptors around a data container.
|
org.infinispan.interceptors.locking | |
org.infinispan.interceptors.totalorder | |
org.infinispan.jcache | |
org.infinispan.metadata | |
org.infinispan.persistence.rest.metadata | |
org.infinispan.rest | |
org.infinispan.server.core | |
org.infinispan.server.memcached |
Modifier and Type | Field and Description |
---|---|
protected Metadata |
CacheImpl.defaultMetadata |
Modifier and Type | Method and Description |
---|---|
V |
AbstractDelegatingAdvancedCache.put(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.put(K key,
V value,
Metadata metadata) |
V |
CacheImpl.put(K key,
V value,
Metadata metadata) |
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. |
NotifyingFuture<V> |
AbstractDelegatingAdvancedCache.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
DecoratedCache.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
CacheImpl.putAsync(K key,
V value,
Metadata metadata) |
NotifyingFuture<V> |
AdvancedCache.putAsync(K key,
V value,
Metadata metadata)
Asynchronous version of
AdvancedCache.put(Object, Object, Metadata) which stores
metadata alongside the value. |
V |
AbstractDelegatingAdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
CacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
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 |
AbstractDelegatingAdvancedCache.replace(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.replace(K key,
V value,
Metadata metadata) |
V |
CacheImpl.replace(K key,
V value,
Metadata metadata) |
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 |
AbstractDelegatingAdvancedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
DecoratedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
CacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
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 | Method and Description |
---|---|
Metadata |
AbstractFlagAffectedCommand.getMetadata() |
Metadata |
MetadataAwareCommand.getMetadata()
Get metadata of this command.
|
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 |
AbstractFlagAffectedCommand.setMetadata(Metadata metadata) |
void |
MetadataAwareCommand.setMetadata(Metadata metadata)
Sets metadata for this command.
|
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 |
ClusteredGetCommand.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
ClusteredGetCommand.setMetadata(Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
Metadata |
PutKeyValueCommand.getMetadata() |
Metadata |
PutMapCommand.getMetadata() |
Metadata |
ReplaceCommand.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
PutKeyValueCommand.setMetadata(Metadata metadata) |
void |
PutMapCommand.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) |
PutMapCommand(Map<?,?> map,
CacheNotifier notifier,
Metadata metadata,
Set<Flag> flags) |
ReplaceCommand(Object key,
Object oldValue,
Object newValue,
CacheNotifier notifier,
Metadata metadata,
Set<Flag> flags,
Equivalence valueEquivalence) |
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactory.create(Object key,
Object value,
Metadata metadata)
Creates a new
InternalCacheEntry instance |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
long lifespan,
long maxIdle) |
InternalCacheEntry |
InternalEntryFactory.create(Object key,
Object value,
Metadata metadata,
long lifespan,
long maxIdle)
Creates a new
InternalCacheEntry instance |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
long created,
long lifespan,
long lastUsed,
long maxIdle) |
InternalCacheEntry |
InternalEntryFactory.create(Object key,
Object value,
Metadata metadata,
long created,
long lifespan,
long lastUsed,
long maxIdle)
Creates a new
InternalCacheEntry instance |
protected MVCCEntry |
IncrementalVersionableEntryFactoryImpl.createWrappedEntry(Object key,
CacheEntry cacheEntry,
InvocationContext context,
Metadata providedMetadata,
boolean isForInsert,
boolean forRemoval,
boolean skipRead) |
protected MVCCEntry |
EntryFactoryImpl.createWrappedEntry(Object key,
CacheEntry cacheEntry,
InvocationContext context,
Metadata providedMetadata,
boolean isForInsert,
boolean forRemoval,
boolean skipRead) |
void |
DataContainer.put(Object k,
Object 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(Object k,
Object v,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactoryImpl.update(InternalCacheEntry ice,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactory.update(InternalCacheEntry cacheEntry,
Metadata metadata)
TODO: Adjust javadoc
Updates an existing
InternalCacheEntry with new metadata. |
Modifier and Type | Field and Description |
---|---|
protected Metadata |
ReadCommittedEntry.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
ReadCommittedEntry.getMetadata() |
Metadata |
ImmortalCacheValue.getMetadata() |
Metadata |
ImmortalCacheEntry.getMetadata() |
Metadata |
TransientCacheEntry.getMetadata() |
Metadata |
InternalCacheValue.getMetadata() |
Metadata |
AbstractInternalCacheEntry.getMetadata() |
Metadata |
MortalCacheEntry.getMetadata() |
Metadata |
DeltaAwareCacheEntry.getMetadata() |
Metadata |
TransientMortalCacheEntry.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
ReadCommittedEntry.commit(DataContainer container,
Metadata providedMetadata) |
void |
AbstractInternalCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
DeltaAwareCacheEntry.commit(DataContainer container,
Metadata metadata) |
void |
CacheEntry.commit(DataContainer container,
Metadata metadata)
Commits changes
|
void |
ReadCommittedEntry.setMetadata(Metadata metadata) |
void |
ImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
TransientCacheEntry.setMetadata(Metadata metadata) |
void |
AbstractInternalCacheEntry.setMetadata(Metadata metadata) |
void |
MortalCacheEntry.setMetadata(Metadata metadata) |
void |
DeltaAwareCacheEntry.setMetadata(Metadata metadata) |
void |
TransientMortalCacheEntry.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 |
MetadataImmortalCacheEntry.metadata |
protected Metadata |
MetadataMortalCacheEntry.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataTransientCacheEntry.getMetadata() |
Metadata |
MetadataImmortalCacheEntry.getMetadata() |
Metadata |
MetadataAware.getMetadata()
Get metadata of this cache entry.
|
Metadata |
MetadataImmortalCacheValue.getMetadata() |
Metadata |
MetadataTransientCacheValue.getMetadata() |
Metadata |
MetadataTransientMortalCacheEntry.getMetadata() |
Metadata |
MetadataMortalCacheEntry.getMetadata() |
Metadata |
MetadataMortalCacheValue.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
MetadataTransientCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataAware.setMetadata(Metadata metadata)
Set the metadata in the cache entry.
|
void |
MetadataImmortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheValue.setMetadata(Metadata metadata) |
void |
MetadataTransientMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheValue.setMetadata(Metadata metadata) |
Constructor and Description |
---|
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 |
---|---|
protected void |
EntryWrappingInterceptor.commitContextEntries(InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata) |
protected void |
VersionedEntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata) |
protected void |
EntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
ClusteringDependentLogic.AbstractClusteringDependentLogic.commitCacheEntry(CacheEntry entry,
Metadata metadata) |
void |
ClusteringDependentLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx) |
void |
ClusteringDependentLogic.LocalLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx) |
void |
ClusteringDependentLogic.InvalidationLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx) |
void |
ClusteringDependentLogic.ReplicationLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx) |
void |
ClusteringDependentLogic.DistributionLogic.commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
TotalOrderVersionedEntryWrappingInterceptor.commitContextEntry(CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Metadata metadata) |
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.
|
class |
InternalMetadataImpl |
Modifier and Type | Method and Description |
---|---|
Metadata |
InternalMetadataImpl.actual() |
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata |
Metadata.Builder.build()
Build a metadata instance.
|
Metadata |
EmbeddedMetadata.Builder.build() |
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.
|
Constructor and Description |
---|
InternalMetadataImpl(Metadata actual,
long created,
long lastUsed) |
Modifier and Type | Method and Description |
---|---|
Metadata |
MimeMetadataHelper.buildMetadata(String contentType,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
Metadata |
MetadataHelper.buildMetadata(String contentType,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
Metadata |
EmbeddedMetadataHelper.buildMetadata(String contentType,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit) |
Modifier and Type | Class and Description |
---|---|
class |
MimeMetadata
Metadata for MIME data stored in REST servers.
|
Modifier and Type | Method and Description |
---|---|
Metadata |
Server.createMetadata(Configuration cfg,
String dataType,
long ttl,
long idleTime) |
Modifier and Type | Method and Description |
---|---|
protected Metadata |
AbstractProtocolDecoder.buildMetadata() |
Modifier and Type | Class and Description |
---|---|
class |
MemcachedMetadata
Memcached metadata information.
|
Modifier and Type | Method and Description |
---|---|
protected Metadata |
MemcachedDecoder.buildMetadata() |
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.