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.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.tree |
This package contains the TreeCache.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<Flag> |
DecoratedCache.getFlags() |
Modifier and Type | Method and Description |
---|---|
AdvancedCache<K,V> |
CacheImpl.withFlags(Flag... flags) |
AdvancedCache<K,V> |
AbstractDelegatingAdvancedCache.withFlags(Flag... flags) |
AdvancedCache<K,V> |
DecoratedCache.withFlags(Flag... flags) |
AdvancedCache<K,V> |
AdvancedCache.withFlags(Flag... flags)
A method that adds flags to any API call.
|
Modifier and Type | Method and Description |
---|---|
CacheEntry |
CacheImpl.getCacheEntry(Object key,
EnumSet<Flag> explicitFlags,
ClassLoader explicitClassLoader) |
CacheEntry |
AbstractDelegatingAdvancedCache.getCacheEntry(Object key,
EnumSet<Flag> explicitFlags,
ClassLoader explicitClassLoader) |
CacheEntry |
AdvancedCache.getCacheEntry(Object key,
EnumSet<Flag> explicitFlags,
ClassLoader explicitClassLoader)
Retrieves a CacheEntry corresponding to a specific key
|
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> |
AbstractFlagAffectedCommand.flags |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
AbstractFlagAffectedCommand.getFlags() |
Set<Flag> |
FlagAffectedCommand.getFlags() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractFlagAffectedCommand.hasFlag(Flag flag) |
boolean |
FlagAffectedCommand.hasFlag(Flag flag)
Check whether a particular flag is present in the command
|
void |
AbstractFlagAffectedCommand.setFlags(Flag... flags) |
void |
FlagAffectedCommand.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
|
EvictCommand |
CommandsFactoryImpl.buildEvictCommand(Object key,
Set<Flag> flags) |
EvictCommand |
CommandsFactory.buildEvictCommand(Object key,
Set<Flag> flags)
Builds an EvictCommand
|
GetCacheEntryCommand |
CommandsFactoryImpl.buildGetCacheEntryCommand(Object key,
Set<Flag> flags) |
GetCacheEntryCommand |
CommandsFactory.buildGetCacheEntryCommand(Object key,
Set<Flag> flags)
Builds a GetKeyValueCommand
|
GetKeyValueCommand |
CommandsFactoryImpl.buildGetKeyValueCommand(Object key,
Set<Flag> flags) |
GetKeyValueCommand |
CommandsFactory.buildGetKeyValueCommand(Object key,
Set<Flag> flags)
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
|
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 |
AbstractFlagAffectedCommand.setFlags(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.
|
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) |
GetCacheEntryCommand(Object key,
Set<Flag> flags) |
GetKeyValueCommand(Object key,
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) |
ClusteredGetCommand(String key,
String cacheName,
Set<Flag> flags) |
Constructor and Description |
---|
AbstractDataWriteCommand(Object key,
Set<Flag> flags) |
ClearCommand(CacheNotifier notifier,
Set<Flag> flags) |
EvictCommand(Object key,
CacheNotifier notifier,
Set<Flag> flags) |
InvalidateCommand(CacheNotifier notifier,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateCommand(CacheNotifier notifier,
Set<Flag> flags,
Object... keys) |
InvalidateL1Command(Address writeOrigin,
boolean forRehash,
DataContainer dc,
Configuration config,
DistributionManager dm,
CacheNotifier notifier,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateL1Command(boolean forRehash,
DataContainer dc,
Configuration config,
DistributionManager dm,
CacheNotifier notifier,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateL1Command(boolean forRehash,
DataContainer dc,
Configuration config,
DistributionManager dm,
CacheNotifier notifier,
Set<Flag> flags,
Object... keys) |
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,
CacheNotifier notifier,
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 |
---|---|
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<Flag> |
FlagContainer.getFlags()
Deprecated.
|
Set<Class<? extends Flag>> |
Flag.Externalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
boolean |
FlagContainer.hasFlag(Flag o)
Deprecated.
|
void |
FlagContainer.setFlags(Flag... flags)
Deprecated.
|
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.
|
void |
FlagContainer.setFlags(Collection<Flag> flags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ClusteredActivationInterceptor.forceLoad(Object key,
Set<Flag> flags) |
protected boolean |
ClusteredCacheLoaderInterceptor.forceLoad(Object key,
Set<Flag> flags) |
protected boolean |
CacheLoaderInterceptor.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 |
---|---|
Node<K,V> |
NodeImpl.addChild(Fqn f,
Flag... flags) |
Node<K,V> |
Node.addChild(Fqn f,
Flag... flags) |
void |
NodeImpl.clearData(Flag... flags) |
void |
Node.clearData(Flag... flags) |
void |
TreeCacheImpl.clearData(Fqn fqn,
Flag... flags) |
void |
TreeCache.clearData(Fqn fqn,
Flag... flags) |
void |
TreeCacheImpl.clearData(String fqn,
Flag... flags) |
void |
TreeCache.clearData(String fqn,
Flag... flags) |
int |
NodeImpl.dataSize(Flag... flags) |
int |
Node.dataSize(Flag... flags) |
boolean |
TreeCacheImpl.exists(Fqn fqn,
Flag... flags) |
boolean |
TreeCache.exists(Fqn fqn,
Flag... flags) |
boolean |
TreeCacheImpl.exists(String fqn,
Flag... flags) |
boolean |
TreeCache.exists(String fqn,
Flag... flags) |
V |
TreeCacheImpl.get(Fqn fqn,
K key,
Flag... flags) |
V |
TreeCache.get(Fqn fqn,
K key,
Flag... flags) |
V |
NodeImpl.get(K key,
Flag... flags) |
V |
Node.get(K key,
Flag... flags) |
V |
TreeCacheImpl.get(String fqn,
K key,
Flag... flags) |
V |
TreeCache.get(String fqn,
K key,
Flag... flags) |
Node<K,V> |
NodeImpl.getChild(Fqn f,
Flag... flags) |
Node<K,V> |
Node.getChild(Fqn f,
Flag... flags) |
Node<K,V> |
NodeImpl.getChild(Object name,
Flag... flags) |
Node<K,V> |
Node.getChild(Object name,
Flag... flags) |
Set<Node<K,V>> |
NodeImpl.getChildren(Flag... flags) |
Set<Node<K,V>> |
Node.getChildren(Flag... flags) |
Set<Object> |
NodeImpl.getChildrenNames(Flag... flags) |
Set<Object> |
Node.getChildrenNames(Flag... flags) |
Map<K,V> |
NodeImpl.getData(Flag... flags) |
Map<K,V> |
Node.getData(Flag... flags) |
Map<K,V> |
TreeCacheImpl.getData(Fqn fqn,
Flag... flags) |
Map<K,V> |
TreeCache.getData(Fqn fqn,
Flag... flags) |
Set<K> |
NodeImpl.getKeys(Flag... flags) |
Set<K> |
Node.getKeys(Flag... flags) |
Set<K> |
TreeCacheImpl.getKeys(Fqn fqn,
Flag... flags) |
Set<K> |
TreeCache.getKeys(Fqn fqn,
Flag... flags) |
Set<K> |
TreeCacheImpl.getKeys(String fqn,
Flag... flags) |
Set<K> |
TreeCache.getKeys(String fqn,
Flag... flags) |
Node<K,V> |
TreeCacheImpl.getNode(Fqn fqn,
Flag... flags) |
Node<K,V> |
TreeCache.getNode(Fqn fqn,
Flag... flags) |
Node<K,V> |
TreeCacheImpl.getNode(String fqn,
Flag... flags) |
Node<K,V> |
TreeCache.getNode(String fqn,
Flag... flags) |
Node<K,V> |
NodeImpl.getParent(Flag... flags) |
Node<K,V> |
Node.getParent(Flag... flags) |
Node<K,V> |
TreeCacheImpl.getRoot(Flag... flags) |
Node<K,V> |
TreeCache.getRoot(Flag... flags) |
boolean |
NodeImpl.hasChild(Fqn f,
Flag... flags) |
boolean |
Node.hasChild(Fqn f,
Flag... flags) |
boolean |
NodeImpl.hasChild(Object o,
Flag... flags) |
boolean |
Node.hasChild(Object o,
Flag... flags) |
void |
TreeCacheImpl.move(Fqn nodeToMoveFqn,
Fqn newParentFqn,
Flag... flags) |
void |
TreeCache.move(Fqn nodeToMove,
Fqn newParent,
Flag... flags) |
void |
TreeCacheImpl.move(String nodeToMove,
String newParent,
Flag... flags) |
void |
TreeCache.move(String nodeToMove,
String newParent,
Flag... flags) |
V |
TreeCacheImpl.put(Fqn fqn,
K key,
V value,
Flag... flags) |
V |
TreeCache.put(Fqn fqn,
K key,
V value,
Flag... flags) |
void |
TreeCacheImpl.put(Fqn fqn,
Map<? extends K,? extends V> data,
Flag... flags) |
void |
TreeCache.put(Fqn fqn,
Map<? extends K,? extends V> data,
Flag... flags) |
V |
NodeImpl.put(K key,
V value,
Flag... flags) |
V |
Node.put(K key,
V value,
Flag... flags) |
V |
TreeCacheImpl.put(String fqn,
K key,
V value,
Flag... flags) |
V |
TreeCache.put(String fqn,
K key,
V value,
Flag... flags) |
void |
TreeCacheImpl.put(String fqn,
Map<? extends K,? extends V> data,
Flag... flags) |
void |
TreeCache.put(String fqn,
Map<? extends K,? extends V> data,
Flag... flags) |
void |
NodeImpl.putAll(Map<? extends K,? extends V> map,
Flag... flags) |
void |
Node.putAll(Map<? extends K,? extends V> map,
Flag... flags) |
V |
NodeImpl.putIfAbsent(K key,
V value,
Flag... flags) |
V |
Node.putIfAbsent(K key,
V value,
Flag... flags) |
V |
TreeCacheImpl.remove(Fqn fqn,
K key,
Flag... flags) |
V |
TreeCache.remove(Fqn fqn,
K key,
Flag... flags) |
V |
NodeImpl.remove(K key,
Flag... flags) |
V |
Node.remove(K key,
Flag... flags) |
V |
TreeCacheImpl.remove(String fqn,
K key,
Flag... flags) |
V |
TreeCache.remove(String fqn,
K key,
Flag... flags) |
boolean |
NodeImpl.removeChild(Fqn f,
Flag... flags) |
boolean |
Node.removeChild(Fqn f,
Flag... flags) |
boolean |
NodeImpl.removeChild(Object childName,
Flag... flags) |
boolean |
Node.removeChild(Object childName,
Flag... flags) |
void |
NodeImpl.removeChildren(Flag... flags) |
void |
Node.removeChildren(Flag... flags) |
boolean |
TreeCacheImpl.removeNode(Fqn fqn,
Flag... flags) |
boolean |
TreeCache.removeNode(Fqn fqn,
Flag... flags) |
boolean |
TreeCacheImpl.removeNode(String fqn,
Flag... flags) |
boolean |
TreeCache.removeNode(String fqn,
Flag... flags) |
V |
NodeImpl.replace(K key,
V value,
Flag... flags) |
V |
Node.replace(K key,
V value,
Flag... flags) |
boolean |
NodeImpl.replace(K key,
V oldValue,
V newValue,
Flag... flags) |
boolean |
Node.replace(K key,
V oldValue,
V newValue,
Flag... flags) |
void |
NodeImpl.replaceAll(Map<? extends K,? extends V> map,
Flag... flags) |
void |
Node.replaceAll(Map<? extends K,? extends V> map,
Flag... flags) |
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.