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> |
AdvancedCache.withFlags(Flag... flags)
A method that adds flags to any API call.
|
AdvancedCache<K,V> |
AbstractDelegatingAdvancedCache.withFlags(Flag... flags) |
AdvancedCache<K,V> |
CacheImpl.withFlags(Flag... flags) |
AdvancedCache<K,V> |
DecoratedCache.withFlags(Flag... flags) |
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 |
CommandsFactory.buildClearCommand(Set<Flag> flags)
Builds a ClearCommand
|
ClearCommand |
CommandsFactoryImpl.buildClearCommand(Set<Flag> flags) |
ClusteredGetCommand |
CommandsFactory.buildClusteredGetCommand(Object key,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx)
Builds a ClusteredGetCommand, which is a remote lookup command
|
ClusteredGetCommand |
CommandsFactoryImpl.buildClusteredGetCommand(Object key,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx) |
GetKeyValueCommand |
CommandsFactory.buildGetKeyValueCommand(Object key,
Set<Flag> flags)
Builds a GetKeyValueCommand
|
GetKeyValueCommand |
CommandsFactoryImpl.buildGetKeyValueCommand(Object key,
Set<Flag> flags) |
LockControlCommand |
CommandsFactory.buildLockControlCommand(Collection keys,
Set<Flag> flags) |
LockControlCommand |
CommandsFactoryImpl.buildLockControlCommand(Collection keys,
Set<Flag> flags) |
LockControlCommand |
CommandsFactory.buildLockControlCommand(Collection keys,
Set<Flag> flags,
GlobalTransaction gtx)
Builds a LockControlCommand to control explicit remote locking
|
LockControlCommand |
CommandsFactoryImpl.buildLockControlCommand(Collection keys,
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. |
LockControlCommand |
CommandsFactoryImpl.buildLockControlCommand(Object key,
Set<Flag> flags,
GlobalTransaction gtx) |
PutKeyValueCommand |
CommandsFactory.buildPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags)
Builds a PutKeyValueCommand
|
PutKeyValueCommand |
CommandsFactoryImpl.buildPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags) |
PutMapCommand |
CommandsFactory.buildPutMapCommand(Map map,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags)
Builds a PutMapCommand
|
PutMapCommand |
CommandsFactoryImpl.buildPutMapCommand(Map map,
long lifespan,
long maxIdleTimeMillis,
Set<Flag> flags) |
RemoveCommand |
CommandsFactory.buildRemoveCommand(Object key,
Object value,
Set<Flag> flags)
Builds a RemoveCommand
|
RemoveCommand |
CommandsFactoryImpl.buildRemoveCommand(Object key,
Object value,
Set<Flag> flags) |
ReplaceCommand |
CommandsFactory.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
long lifespanMillis,
long maxIdleTimeMillis,
Set<Flag> flags)
Builds a ReplaceCommand
|
ReplaceCommand |
CommandsFactoryImpl.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
long lifespan,
long maxIdleTimeMillis,
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. |
VersionedPutKeyValueCommand |
CommandsFactoryImpl.buildVersionedPutKeyValueCommand(Object key,
Object value,
long lifespanMillis,
long maxIdleTimeMillis,
EntryVersion version,
Set<Flag> flags) |
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> |
FlagContainer.getFlags() |
Set<Flag> |
InvocationContextFlagsOverride.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
FlagContainer.hasFlag(Flag o) |
boolean |
InvocationContextFlagsOverride.hasFlag(Flag o) |
void |
FlagContainer.setFlags(Flag... flags) |
void |
InvocationContextFlagsOverride.setFlags(Flag... newFlags) |
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 |
FlagContainer.setFlags(Collection<Flag> flags) |
void |
InvocationContextFlagsOverride.setFlags(Collection<Flag> newFlags) |
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> |
AbstractInvocationContext.getFlags() |
Set<Flag> |
ImmutableContext.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractInvocationContext.hasFlag(Flag o) |
boolean |
ImmutableContext.hasFlag(Flag o) |
void |
AbstractInvocationContext.setFlags(Flag... flags) |
void |
ImmutableContext.setFlags(Flag... flags) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractInvocationContext.setFlags(Collection<Flag> flags) |
void |
ImmutableContext.setFlags(Collection<Flag> flags) |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.