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.read | |
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.compat | |
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.interceptors |
Infinispan is designed around a set of interceptors around a data container.
|
org.infinispan.interceptors.compat |
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> |
DecoratedCache.withFlags(Flag... flags) |
AdvancedCache<K,V> |
CacheImpl.withFlags(Flag... flags) |
Modifier and Type | Method and Description |
---|---|
CacheEntry |
CacheImpl.getCacheEntry(Object key,
EnumSet<Flag> explicitFlags,
ClassLoader explicitClassLoader) |
protected void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
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> |
AbstractLocalFlagAffectedCommand.flags |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
AbstractLocalFlagAffectedCommand.getFlags() |
Set<Flag> |
LocalFlagAffectedCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractLocalFlagAffectedCommand.hasFlag(Flag flag) |
boolean |
LocalFlagAffectedCommand.hasFlag(Flag flag)
Check whether a particular flag is present in the command
|
void |
AbstractLocalFlagAffectedCommand.setFlags(Flag... flags) |
void |
LocalFlagAffectedCommand.setFlags(Flag... flags)
Use it to store the flags from the InvocationContext into the Command before remoting the Command.
|
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
|
EntrySetCommand |
CommandsFactoryImpl.buildEntrySetCommand(Set<Flag> flags) |
EntrySetCommand |
CommandsFactory.buildEntrySetCommand(Set<Flag> flags)
Builds a EntrySetCommand
|
EvictCommand |
CommandsFactoryImpl.buildEvictCommand(Object key,
Set<Flag> flags) |
EvictCommand |
CommandsFactory.buildEvictCommand(Object key,
Set<Flag> flags)
Builds an EvictCommand
|
GetKeyValueCommand |
CommandsFactoryImpl.buildGetKeyValueCommand(Object key,
Set<Flag> flags,
boolean returnEntry) |
GetKeyValueCommand |
CommandsFactory.buildGetKeyValueCommand(Object key,
Set<Flag> flags,
boolean returnEntry)
Builds a GetKeyValueCommand
|
InvalidateCommand |
CommandsFactoryImpl.buildInvalidateCommand(Set<Flag> flags,
Object... keys) |
InvalidateCommand |
CommandsFactory.buildInvalidateCommand(Set<Flag> flags,
Object... keys)
Builds an InvalidateCommand
|
InvalidateCommand |
CommandsFactoryImpl.buildInvalidateFromL1Command(Address origin,
boolean forRehash,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateCommand |
CommandsFactory.buildInvalidateFromL1Command(Address origin,
boolean forRehash,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateCommand |
CommandsFactoryImpl.buildInvalidateFromL1Command(boolean forRehash,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateCommand |
CommandsFactory.buildInvalidateFromL1Command(boolean forRehash,
Set<Flag> flags,
Collection<Object> keys)
Builds an InvalidateFromL1Command
|
KeySetCommand |
CommandsFactoryImpl.buildKeySetCommand(Set<Flag> flags) |
KeySetCommand |
CommandsFactory.buildKeySetCommand(Set<Flag> flags)
Builds a KeySetCommand
|
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(Collection keys,
Set<Flag> flags) |
LockControlCommand |
CommandsFactory.buildLockControlCommand(Collection keys,
Set<Flag> flags) |
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,
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
|
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,
Metadata metadata,
Set<Flag> flags) |
ReplaceCommand |
CommandsFactory.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
Metadata metadata,
Set<Flag> flags)
Builds a ReplaceCommand
|
SizeCommand |
CommandsFactoryImpl.buildSizeCommand(Set<Flag> flags) |
SizeCommand |
CommandsFactory.buildSizeCommand(Set<Flag> flags)
Builds a SizeCommand
|
ValuesCommand |
CommandsFactoryImpl.buildValuesCommand(Set<Flag> flags) |
ValuesCommand |
CommandsFactory.buildValuesCommand(Set<Flag> flags)
Builds a ValuesCommand
|
void |
AbstractLocalFlagAffectedCommand.setFlags(Set<Flag> flags) |
void |
LocalFlagAffectedCommand.setFlags(Set<Flag> flags)
Use it to store the flags from the InvocationContext into the Command before remoting the Command.
|
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
LockControlCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
LockControlCommand.hasFlag(Flag flag) |
void |
LockControlCommand.setFlags(Flag... flags) |
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) |
EntrySetCommand(DataContainer container,
InternalEntryFactory internalEntryFactory,
TimeService timeService,
Set<Flag> flags) |
GetKeyValueCommand(Object key,
Set<Flag> flags,
boolean returnEntry) |
KeySetCommand(DataContainer container,
Set<Flag> flags) |
SizeCommand(DataContainer container,
Set<Flag> flags) |
ValuesCommand(DataContainer container,
TimeService timeService,
Set<Flag> flags) |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
ClusteredGetCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusteredGetCommand.hasFlag(Flag flag) |
void |
ClusteredGetCommand.setFlags(Flag... flags) |
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,
Equivalence keyEquivalence) |
Modifier and Type | Method and Description |
---|---|
boolean |
TypeConverter.supportsInvocation(Flag flag)
Indicates whether this type converter supports a particular type of
operation.
|
Modifier and Type | Method and Description |
---|---|
Flag |
Flag.Externalizer.readObject(ObjectInput input) |
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 |
---|---|
static Set<Flag> |
Flag.copyWithoutRemotableFlags(Set<Flag> flags)
Creates a copy of a Flag Set removing instances of FAIL_SILENTLY.
|
Set<Class<? extends Flag>> |
Flag.Externalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
void |
Flag.Externalizer.writeObject(ObjectOutput output,
Flag flag) |
Modifier and Type | Method and Description |
---|---|
static Set<Flag> |
Flag.copyWithoutRemotableFlags(Set<Flag> flags)
Creates a copy of a Flag Set removing instances of FAIL_SILENTLY.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
CacheLoaderInterceptor.forceLoad(Object key,
Set<Flag> flags) |
protected boolean |
ClusteredActivationInterceptor.forceLoad(Object key,
Set<Flag> flags) |
protected boolean |
ClusteredCacheLoaderInterceptor.forceLoad(Object key,
Set<Flag> flags) |
protected boolean |
CacheLoaderInterceptor.isDeltaWrite(Set<Flag> flags)
Indicates whether the operation is a delta write.
|
Modifier and Type | Method and Description |
---|---|
protected abstract TypeConverter<Object,Object,Object,Object> |
BaseTypeConverterInterceptor.determineTypeConverter(Set<Flag> flags)
Subclasses need to return a TypeConverter instance that is appropriate for a cache operation with the specified flags.
|
protected TypeConverter<Object,Object,Object,Object> |
TypeConverterInterceptor.determineTypeConverter(Set<Flag> flags) |
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.