Package | Description |
---|---|
org.infinispan.container |
Data containers which store cache entries.
|
org.infinispan.container.entries |
Entries which are stored in data containers.
|
org.infinispan.container.entries.versioned | |
org.infinispan.container.versioning | |
org.infinispan.metadata | |
org.infinispan.transaction |
JTA transaction support.
|
org.infinispan.transaction.xa |
XA transaction support.
|
Modifier and Type | Method and Description |
---|---|
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,
EntryVersion version,
long created,
long lifespan,
long lastUsed,
long maxIdle) |
Modifier and Type | Method and Description |
---|---|
EntryVersion |
ClusteredRepeatableReadEntry.getVersion() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusteredRepeatableReadEntry.performWriteSkewCheck(DataContainer container,
TxInvocationContext ctx,
EntryVersion versionSeen,
VersionGenerator versionGenerator) |
void |
ClusteredRepeatableReadEntry.setVersion(EntryVersion version) |
Modifier and Type | Method and Description |
---|---|
EntryVersion |
Versioned.getVersion() |
Modifier and Type | Method and Description |
---|---|
void |
Versioned.setVersion(EntryVersion version)
Sets the version on this entry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IncrementableEntryVersion
An interface indicating that a version of this type can be incremented.
|
Modifier and Type | Class and Description |
---|---|
class |
NumericVersion
Numeric version
|
class |
SimpleClusteredVersion
A simple versioning scheme that is cluster-aware
|
Modifier and Type | Method and Description |
---|---|
InequalVersionComparisonResult |
EntryVersion.compareTo(EntryVersion other)
Compares the given version against the current instance.
|
InequalVersionComparisonResult |
NumericVersion.compareTo(EntryVersion other) |
InequalVersionComparisonResult |
SimpleClusteredVersion.compareTo(EntryVersion other) |
Modifier and Type | Field and Description |
---|---|
protected EntryVersion |
EmbeddedMetadata.Builder.version |
Modifier and Type | Method and Description |
---|---|
EntryVersion |
EmbeddedMetadata.version() |
EntryVersion |
Metadata.version()
Returns the version of the cache entry with which this metadata object
is associated.
|
EntryVersion |
InternalMetadataImpl.version() |
Modifier and Type | Method and Description |
---|---|
Metadata.Builder |
EmbeddedMetadata.Builder.version(EntryVersion version) |
Metadata.Builder |
Metadata.Builder.version(EntryVersion version)
Set version.
|
Modifier and Type | Method and Description |
---|---|
EntryVersion |
AbstractCacheTransaction.getLookedUpRemoteVersion(Object key) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCacheTransaction.addVersionRead(Object key,
EntryVersion version) |
void |
AbstractCacheTransaction.putLookedUpRemoteVersion(Object key,
EntryVersion version) |
void |
AbstractCacheTransaction.replaceVersionRead(Object key,
EntryVersion version) |
Modifier and Type | Method and Description |
---|---|
EntryVersion |
CacheTransaction.getLookedUpRemoteVersion(Object key) |
Modifier and Type | Method and Description |
---|---|
void |
CacheTransaction.addVersionRead(Object key,
EntryVersion version)
Sets the version read for this key.
|
void |
CacheTransaction.putLookedUpRemoteVersion(Object key,
EntryVersion version) |
void |
CacheTransaction.replaceVersionRead(Object key,
EntryVersion version)
Sets the version read fr this key, replacing the old version if it exists, i.e each invocation updates the version
of the key.
|
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.