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 |
Commands that control and coordinate certain cache operations, such as rehashing, state transfer and locking.
|
org.infinispan.commands.read |
Commands that read data from the cache.
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<Flag> |
DecoratedCache.getFlags() |
Modifier and Type | Method and Description |
---|---|
AdvancedCache<K,V> |
DecoratedCache.withFlags(Flag... flags) |
AdvancedCache<K,V> |
CacheImpl.withFlags(Flag... flags) |
AdvancedCache<K,V> |
AdvancedCache.withFlags(Flag... flags)
A method that adds flags to any API call.
|
AdvancedCache<K,V> |
AbstractDelegatingCacheImpl.withFlags(Flag... flags) |
AdvancedCache<K,V> |
AbstractDelegatingAdvancedCache.withFlags(Flag... flags) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDelegatingCacheImpl.clear(EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Void> |
AbstractDelegatingCacheImpl.clearAsync(EnumSet<Flag> flags,
ClassLoader classLoader) |
protected boolean |
AbstractDelegatingCacheImpl.containsKey(Object key,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected Set<Map.Entry<K,V>> |
AbstractDelegatingCacheImpl.entrySet(EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
AbstractDelegatingCacheImpl.evict(K key,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.get(Object key,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.getAsync(K key,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected boolean |
AbstractDelegatingCacheImpl.isEmpty(EnumSet<Flag> flags,
ClassLoader classLoader) |
protected Set<K> |
AbstractDelegatingCacheImpl.keySet(EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.put(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.put(K key,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.put(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
AbstractDelegatingCacheImpl.putAll(Map<? extends K,? extends V> m,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
AbstractDelegatingCacheImpl.putAll(Map<? extends K,? extends V> map,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
AbstractDelegatingCacheImpl.putAll(Map<? extends K,? extends V> map,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Void> |
AbstractDelegatingCacheImpl.putAllAsync(Map<? extends K,? extends V> data,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Void> |
AbstractDelegatingCacheImpl.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Void> |
AbstractDelegatingCacheImpl.putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.putAsync(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.putAsync(K key,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.putAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
AbstractDelegatingCacheImpl.putForExternalRead(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.putIfAbsent(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.putIfAbsent(K key,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.putIfAbsent(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.putIfAbsentAsync(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.remove(Object key,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected boolean |
AbstractDelegatingCacheImpl.remove(Object key,
Object value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.removeAsync(Object key,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Boolean> |
AbstractDelegatingCacheImpl.removeAsync(Object key,
Object value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.replace(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.replace(K key,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected V |
AbstractDelegatingCacheImpl.replace(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected boolean |
AbstractDelegatingCacheImpl.replace(K key,
V oldValue,
V newValue,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected boolean |
AbstractDelegatingCacheImpl.replace(K key,
V oldValue,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected boolean |
AbstractDelegatingCacheImpl.replace(K key,
V oldValue,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.replaceAsync(K key,
V value,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.replaceAsync(K key,
V value,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<V> |
AbstractDelegatingCacheImpl.replaceAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Boolean> |
AbstractDelegatingCacheImpl.replaceAsync(K key,
V oldValue,
V newValue,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Boolean> |
AbstractDelegatingCacheImpl.replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit unit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected NotifyingFuture<Boolean> |
AbstractDelegatingCacheImpl.replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected int |
AbstractDelegatingCacheImpl.size(EnumSet<Flag> flags,
ClassLoader classLoader) |
protected Collection<V> |
AbstractDelegatingCacheImpl.values(EnumSet<Flag> flags,
ClassLoader classLoader) |
Constructor and Description |
---|
DecoratedCache(AdvancedCache<K,V> delegate,
ClassLoader classLoader,
Flag... flags) |
DecoratedCache(AdvancedCache<K,V> delegate,
Flag... flags) |
Modifier and Type | Field and Description |
---|---|
protected Set<Flag> |
AbstractFlagAffectedCommand.flags |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
FlagAffectedCommand.getFlags() |
Set<Flag> |
AbstractFlagAffectedCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
FlagAffectedCommand.hasFlag(Flag flag)
Check whether a particular flag is present in the command
|
boolean |
AbstractFlagAffectedCommand.hasFlag(Flag flag) |
Modifier and Type | Method and Description |
---|---|
ClearCommand |
CommandsFactoryImpl.buildClearCommand(Set<Flag> flags) |
ClearCommand |
CommandsFactory.buildClearCommand(Set<Flag> flags)
Builds a ClearCommand
|
ClusteredGetCommand |
CommandsFactoryImpl.buildClusteredGetCommand(Object key,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx) |
ClusteredGetCommand |
CommandsFactory.buildClusteredGetCommand(Object key,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx)
Builds a ClusteredGetCommand, which is a remote lookup command
|
GetKeyValueCommand |
CommandsFactoryImpl.buildGetKeyValueCommand(Object key,
Set<Flag> flags) |
GetKeyValueCommand |
CommandsFactory.buildGetKeyValueCommand(Object key,
Set<Flag> flags)
Builds a GetKeyValueCommand
|
LockControlCommand |
CommandsFactoryImpl.buildLockControlCommand(Collection<Object> keys,
Set<Flag> flags) |
LockControlCommand |
CommandsFactory.buildLockControlCommand(Collection<Object> keys,
Set<Flag> flags) |
LockControlCommand |
CommandsFactoryImpl.buildLockControlCommand(Collection<Object> keys,
Set<Flag> flags,
GlobalTransaction gtx) |
LockControlCommand |
CommandsFactory.buildLockControlCommand(Collection<Object> keys,
Set<Flag> flags,
GlobalTransaction gtx)
Builds a LockControlCommand to control explicit remote locking
|
LockControlCommand |
CommandsFactoryImpl.buildLockControlCommand(Object key,
Set<Flag> flags,
GlobalTransaction gtx) |
LockControlCommand |
CommandsFactory.buildLockControlCommand(Object key,
Set<Flag> flags,
GlobalTransaction gtx)
Same as
CommandsFactory.buildLockControlCommand(Object, java.util.Set, org.infinispan.transaction.xa.GlobalTransaction)
but for locking a single key vs a collection of keys. |
PutKeyValueCommand |
CommandsFactoryImpl.buildPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags) |
PutKeyValueCommand |
CommandsFactory.buildPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags)
Builds a PutKeyValueCommand
|
PutMapCommand |
CommandsFactoryImpl.buildPutMapCommand(Map<?,?> map,
long lifespan,
long maxIdleTimeMillis,
Set<Flag> flags) |
PutMapCommand |
CommandsFactory.buildPutMapCommand(Map<?,?> map,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags)
Builds a PutMapCommand
|
RemoveCommand |
CommandsFactoryImpl.buildRemoveCommand(Object key,
Object value,
Set<Flag> flags) |
RemoveCommand |
CommandsFactory.buildRemoveCommand(Object key,
Object value,
Set<Flag> flags)
Builds a RemoveCommand
|
ReplaceCommand |
CommandsFactoryImpl.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
long lifespan,
long maxIdleTimeMillis,
Set<Flag> flags) |
ReplaceCommand |
CommandsFactory.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags)
Builds a ReplaceCommand
|
VersionedPutKeyValueCommand |
CommandsFactoryImpl.buildVersionedPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
EntryVersion version,
Set<Flag> flags) |
VersionedPutKeyValueCommand |
CommandsFactory.buildVersionedPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
EntryVersion version,
Set<Flag> flags)
Builds a special form of
PutKeyValueCommand that also holds a reference to a version to be applied. |
void |
FlagAffectedCommand.setFlags(Set<Flag> flags)
Use it to store the flags from the InvocationContext into the Command before remoting the Command.
|
void |
AbstractFlagAffectedCommand.setFlags(Set<Flag> flags) |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
LockControlCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
LockControlCommand.hasFlag(Flag flag) |
Modifier and Type | Method and Description |
---|---|
void |
LockControlCommand.setFlags(Set<Flag> flags) |
Constructor and Description |
---|
LockControlCommand(Collection<Object> keys,
String cacheName,
Set<Flag> flags,
GlobalTransaction gtx) |
LockControlCommand(Object key,
String cacheName,
Set<Flag> flags,
GlobalTransaction gtx) |
Constructor and Description |
---|
AbstractDataCommand(Object key,
Set<Flag> flags) |
GetKeyValueCommand(Object key,
CacheNotifier notifier,
Set<Flag> flags) |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
ClusteredGetCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusteredGetCommand.hasFlag(Flag flag) |
Modifier and Type | Method and Description |
---|---|
void |
ClusteredGetCommand.setFlags(Set<Flag> flags) |
Constructor and Description |
---|
ClusteredGetCommand(Object key,
String cacheName,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx) |
ClusteredGetCommand(String key,
String cacheName,
Set<Flag> flags) |
Constructor and Description |
---|
AbstractDataWriteCommand(Object key,
Set<Flag> flags) |
ClearCommand(CacheNotifier notifier,
Set<Flag> flags) |
PutKeyValueCommand(Object key,
Object value,
boolean putIfAbsent,
CacheNotifier notifier,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags) |
PutMapCommand(Map<?,?> map,
CacheNotifier notifier,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags) |
RemoveCommand(Object key,
Object value,
CacheNotifier notifier,
Set<Flag> flags) |
ReplaceCommand(Object key,
Object oldValue,
Object newValue,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags) |
VersionedPutKeyValueCommand(Object key,
Object value,
boolean putIfAbsent,
CacheNotifier notifier,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags,
EntryVersion version) |
Modifier and Type | Method and Description |
---|---|
static Flag |
Flag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
Flag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected static Set<Flag> |
Flag.copyWithouthRemotableFlags(Set<Flag> flags)
Creates a copy of a Flag Set removing instances of FAIL_SILENTLY.
|
Set<Flag> |
InvocationContextFlagsOverride.getFlags() |
Set<Flag> |
FlagContainer.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
InvocationContextFlagsOverride.hasFlag(Flag o) |
boolean |
FlagContainer.hasFlag(Flag o) |
void |
InvocationContextFlagsOverride.setFlags(Flag... newFlags) |
void |
FlagContainer.setFlags(Flag... flags) |
Modifier and Type | Method and Description |
---|---|
protected static Set<Flag> |
Flag.copyWithouthRemotableFlags(Set<Flag> flags)
Creates a copy of a Flag Set removing instances of FAIL_SILENTLY.
|
void |
InvocationContextFlagsOverride.setFlags(Collection<Flag> newFlags) |
void |
FlagContainer.setFlags(Collection<Flag> flags) |
Constructor and Description |
---|
InvocationContextFlagsOverride(InvocationContext delegate,
Set<Flag> flags)
Wraps an existing
InvocationContext without changing the context directly
but making sure the specified flags are considered enabled. |
TransactionalInvocationContextFlagsOverride(TxInvocationContext delegate,
Set<Flag> flags) |
Modifier and Type | Field and Description |
---|---|
protected EnumSet<Flag> |
AbstractInvocationContext.flags |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
ImmutableContext.getFlags() |
Set<Flag> |
AbstractInvocationContext.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
ImmutableContext.hasFlag(Flag o) |
boolean |
AbstractInvocationContext.hasFlag(Flag o) |
void |
ImmutableContext.setFlags(Flag... flags) |
void |
AbstractInvocationContext.setFlags(Flag... flags) |
Modifier and Type | Method and Description |
---|---|
void |
ImmutableContext.setFlags(Collection<Flag> flags) |
void |
AbstractInvocationContext.setFlags(Collection<Flag> flags) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.