Package | Description |
---|---|
org.infinispan.commands.read | |
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.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.distribution |
Classes relating to the distributed cache mode.
|
org.infinispan.eviction |
Classes related to eviction.
|
org.infinispan.interceptors |
Infinispan is designed around a set of interceptors around a data container.
|
org.infinispan.interceptors.distribution | |
org.infinispan.interceptors.totalorder | |
org.infinispan.metadata | |
org.infinispan.notifications.cachelistener |
Cache -specific notifications and eventing. |
org.infinispan.persistence |
This package contains stores, which are used for overflow or persistence.
|
org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
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.
|
org.infinispan.xsite.statetransfer |
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
GetKeyValueCommand.getRemotelyFetchedValue()
If the cache needs to go remotely in order to obtain the value associated to this key, then the remote value
is stored in this field.
|
Modifier and Type | Method and Description |
---|---|
static Set<InternalCacheEntry> |
EntrySetCommand.createFilteredEntrySet(Set<InternalCacheEntry> entries,
InvocationContext ctx,
TimeService timeService,
InternalEntryFactory entryFactory) |
Set<InternalCacheEntry> |
EntrySetCommand.perform(InvocationContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
GetKeyValueCommand.setRemotelyFetchedValue(InternalCacheEntry remotelyFetchedValue) |
Modifier and Type | Method and Description |
---|---|
static Set<InternalCacheEntry> |
EntrySetCommand.createFilteredEntrySet(Set<InternalCacheEntry> entries,
InvocationContext ctx,
TimeService timeService,
InternalEntryFactory entryFactory) |
Constructor and Description |
---|
ValuesCommand.ExpiredFilteredValues(Set<InternalCacheEntry> entrySet,
TimeService timeService) |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Object,InternalCacheEntry> |
DefaultDataContainer.entries |
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
InternalEntryFactoryImpl.create(CacheEntry cacheEntry) |
InternalCacheEntry |
InternalEntryFactory.create(CacheEntry cacheEntry)
Creates a new
InternalCacheEntry instance based on the key, value, version and timestamp/lifespan
information reflected in the CacheEntry instance passed in. |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
EntryVersion version,
long created,
long lifespan,
long lastUsed,
long maxIdle) |
InternalCacheEntry |
InternalEntryFactory.create(Object key,
Object value,
EntryVersion version,
long created,
long lifespan,
long lastUsed,
long maxIdle)
Creates a new
InternalCacheEntry instance |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
InternalCacheEntry cacheEntry) |
InternalCacheEntry |
InternalEntryFactory.create(Object key,
Object value,
InternalCacheEntry cacheEntry)
Creates a new
InternalCacheEntry instance based on the version and timestamp/lifespan
information reflected in the CacheEntry instance passed in. |
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 |
InternalCacheEntry |
DataContainer.get(Object k)
Retrieves a cached entry
|
InternalCacheEntry |
DefaultDataContainer.get(Object k) |
InternalCacheEntry |
DefaultDataContainer.EntryIterator.next() |
InternalCacheEntry |
DataContainer.peek(Object k)
Retrieves a cache entry in the same way as
DataContainer.get(Object) }
except that it does not update or reorder any of the internal constructs. |
InternalCacheEntry |
DefaultDataContainer.peek(Object key) |
InternalCacheEntry |
DataContainer.remove(Object k)
Removes an entry from the cache
|
InternalCacheEntry |
DefaultDataContainer.remove(Object k) |
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 | Method and Description |
---|---|
Set<InternalCacheEntry> |
DataContainer.entrySet()
Returns a mutable set of immutable cache entries exposed as immutable Map.Entry instances.
|
Set<InternalCacheEntry> |
DefaultDataContainer.entrySet() |
Iterator<InternalCacheEntry> |
DefaultDataContainer.iterator() |
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
InternalCacheEntry cacheEntry) |
InternalCacheEntry |
InternalEntryFactory.create(Object key,
Object value,
InternalCacheEntry cacheEntry)
Creates a new
InternalCacheEntry instance based on the version and timestamp/lifespan
information reflected in the CacheEntry instance passed in. |
InternalCacheEntry |
InternalEntryFactoryImpl.update(InternalCacheEntry ice,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactory.update(InternalCacheEntry cacheEntry,
Metadata metadata)
TODO: Adjust javadoc
Updates an existing
InternalCacheEntry with new metadata. |
MVCCEntry |
EntryFactoryImpl.wrapEntryForPut(InvocationContext ctx,
Object key,
InternalCacheEntry icEntry,
boolean undeleteIfNeeded,
FlagAffectedCommand cmd,
boolean skipRead) |
MVCCEntry |
EntryFactory.wrapEntryForPut(InvocationContext ctx,
Object key,
InternalCacheEntry ice,
boolean undeleteIfNeeded,
FlagAffectedCommand cmd,
boolean skipRead)
Used for wrapping a cache entry for addition to cache.
|
Modifier and Type | Method and Description |
---|---|
<K> void |
DataContainer.executeTask(AdvancedCacheLoader.KeyFilter<K> filter,
ParallelIterableMap.KeyValueAction<Object,InternalCacheEntry> action)
Executes task specified by the given action on the container key/values filtered using the specified key filter.
|
<K> void |
DefaultDataContainer.executeTask(AdvancedCacheLoader.KeyFilter<K> filter,
ParallelIterableMap.KeyValueAction<Object,InternalCacheEntry> action) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractInternalCacheEntry
An abstract internal cache entry that is typically stored in the data container
|
class |
ImmortalCacheEntry
A cache entry that is immortal/cannot expire
|
class |
MortalCacheEntry
A cache entry that is mortal.
|
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.
|
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
InternalCacheEntry.clone() |
InternalCacheEntry |
TransientCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
MortalCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
ImmortalCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
TransientMortalCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
InternalCacheValue.toInternalCacheEntry(Object key) |
Modifier and Type | Class and Description |
---|---|
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 is Versioned |
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
MetadataTransientMortalCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
MetadataImmortalCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
MetadataTransientCacheValue.toInternalCacheEntry(Object key) |
InternalCacheEntry |
MetadataMortalCacheValue.toInternalCacheEntry(Object key) |
Modifier and Type | Method and Description |
---|---|
boolean |
SingleKeyNonTxInvocationContext.replaceValue(Object key,
InternalCacheEntry cacheEntry) |
boolean |
InvocationContext.replaceValue(Object key,
InternalCacheEntry cacheEntry)
Tries to replace the value of the wrapped entry associated with the given key in the context, if one exists.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTxInvocationContext.onEntryValueReplaced(Object key,
InternalCacheEntry cacheEntry) |
protected void |
AbstractInvocationContext.onEntryValueReplaced(Object key,
InternalCacheEntry cacheEntry) |
boolean |
ImmutableContext.replaceValue(Object key,
InternalCacheEntry cacheEntry) |
boolean |
AbstractInvocationContext.replaceValue(Object key,
InternalCacheEntry cacheEntry) |
Modifier and Type | Method and Description |
---|---|
void |
L1ManagerImpl.remoteValueFound(InternalCacheEntry ice) |
void |
RemoteValueRetrievedListener.remoteValueFound(InternalCacheEntry ice)
Invoked when a remote value is found from a remote source
|
Modifier and Type | Method and Description |
---|---|
void |
PassivationManager.passivate(InternalCacheEntry entry) |
void |
PassivationManagerImpl.passivate(InternalCacheEntry entry) |
Modifier and Type | Method and Description |
---|---|
void |
EvictionManagerImpl.onEntryEviction(Map<Object,InternalCacheEntry> evicted) |
void |
EvictionManager.onEntryEviction(Map<Object,InternalCacheEntry> evicted) |
Modifier and Type | Method and Description |
---|---|
protected abstract InternalCacheEntry |
ClusteringInterceptor.retrieveFromRemoteSource(Object key,
InvocationContext ctx,
boolean acquireRemoteLock,
FlagAffectedCommand command,
boolean isWrite)
Retrieves a cache entry from a remote source.
|
Modifier and Type | Method and Description |
---|---|
protected InternalCacheEntry |
BaseDistributionInterceptor.retrieveFromRemoteSource(Object key,
InvocationContext ctx,
boolean acquireRemoteLock,
FlagAffectedCommand command,
boolean isWrite) |
Modifier and Type | Method and Description |
---|---|
protected void |
TxDistributionInterceptor.lockAndWrap(InvocationContext ctx,
Object key,
InternalCacheEntry ice,
FlagAffectedCommand command) |
void |
L1WriteSynchronizer.runL1UpdateIfPossible(InternalCacheEntry ice)
Attempts to the L1 update and set the value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TotalOrderDistributionInterceptor.lockAndWrap(InvocationContext ctx,
Object key,
InternalCacheEntry ice,
FlagAffectedCommand command) |
protected void |
TotalOrderVersionedDistributionInterceptor.lockAndWrap(InvocationContext ctx,
Object key,
InternalCacheEntry ice,
FlagAffectedCommand command) |
Constructor and Description |
---|
InternalMetadataImpl(InternalCacheEntry ice) |
Modifier and Type | Method and Description |
---|---|
void |
CacheNotifier.notifyCacheEntriesEvicted(Collection<InternalCacheEntry> entries,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a CacheEntriesEvicted event.
|
void |
CacheNotifierImpl.notifyCacheEntriesEvicted(Collection<InternalCacheEntry> entries,
InvocationContext ctx,
FlagAffectedCommand command) |
Modifier and Type | Method and Description |
---|---|
static Set<InternalCacheEntry> |
PersistenceUtil.toEntrySet(AdvancedCacheLoader acl,
AdvancedCacheLoader.KeyFilter filter,
InternalEntryFactory ief) |
Modifier and Type | Method and Description |
---|---|
static InternalMetadata |
PersistenceUtil.internalMetadata(InternalCacheEntry ice) |
Modifier and Type | Method and Description |
---|---|
Collection<InternalCacheEntry> |
StateChunk.getCacheEntries() |
Constructor and Description |
---|
StateChunk(int segmentId,
Collection<InternalCacheEntry> cacheEntries,
boolean isLastChunk) |
Modifier and Type | Method and Description |
---|---|
static InternalCacheEntry |
CoreImmutables.immutableInternalCacheEntry(InternalCacheEntry entry)
Wraps a
InternalCacheEntry } with an immutable InternalCacheEntry }. |
Modifier and Type | Method and Description |
---|---|
static InternalCacheEntry |
CoreImmutables.immutableInternalCacheEntry(InternalCacheEntry entry)
Wraps a
InternalCacheEntry } with an immutable InternalCacheEntry }. |
Modifier and Type | Method and Description |
---|---|
static XSiteState |
XSiteState.fromDataContainer(InternalCacheEntry entry) |
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.