Package | Description |
---|---|
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.tx |
Commands that represent transactional lifecycle transitions.
|
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.interceptors.base |
Base interceptors containing common, reusable behavior.
|
org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DataCommand
Commands of this type manipulate data in the cache.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractVisitor.handleDefault(InvocationContext ctx,
VisitableCommand command)
A default handler for all commands visited.
|
Object |
Visitor.visitUnknownCommand(InvocationContext ctx,
VisitableCommand command) |
Object |
AbstractVisitor.visitUnknownCommand(InvocationContext ctx,
VisitableCommand command) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisitor.visitCollection(InvocationContext ctx,
Collection<? extends VisitableCommand> toVisit)
Helper method to visit a collection of VisitableCommands.
|
Modifier and Type | Class and Description |
---|---|
class |
LockControlCommand
LockControlCommand is a command that enables distributed locking across infinispan nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataCommand |
class |
DistributedExecuteCommand<V>
DistributedExecuteCommand is used to migrate Callable and execute it in remote JVM.
|
class |
EntrySetCommand
Command implementation for
Map.entrySet() functionality. |
class |
GetKeyValueCommand
Implements functionality defined by
Map.get(Object) and
Map.containsKey(Object) operations |
class |
KeySetCommand
Command implementation for
Map.keySet() functionality. |
class |
SizeCommand
Command to calculate the size of the cache
|
class |
ValuesCommand
Command implementation for
Map.values() functionality. |
Modifier and Type | Interface and Description |
---|---|
interface |
TransactionBoundaryCommand
An transaction boundary command that allows the retrieval of an attached
GlobalTransaction |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransactionBoundaryCommand
An abstract transaction boundary command that holds a reference to a
GlobalTransaction |
class |
CommitCommand
Command corresponding to the 2nd phase of 2PC.
|
class |
PrepareCommand
Command corresponding to the 1st phase of 2PC.
|
class |
RollbackCommand
Command corresponding to a transaction rollback.
|
class |
VersionedCommitCommand
The same as a
CommitCommand except that version information is also carried by this command, used by
optimistically transactional caches making use of write skew checking when using IsolationLevel.REPEATABLE_READ . |
class |
VersionedPrepareCommand
Same as
PrepareCommand except that the transaction originator makes evident the versions of entries touched
and stored in a transaction context so that accurate write skew checks may be performed by the lock owner(s). |
Modifier and Type | Interface and Description |
---|---|
interface |
DataWriteCommand
Mixes features from DataCommand and WriteCommand
|
interface |
WriteCommand
A command that modifies the cache in some way
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataWriteCommand
Stuff common to WriteCommands
|
class |
ApplyDeltaCommand |
class |
ClearCommand |
class |
EvictCommand |
class |
InvalidateCommand
Removes an entry from memory.
|
class |
InvalidateL1Command
Invalidates an entry in a L1 cache (used with DIST mode)
|
class |
PutKeyValueCommand
Implements functionality defined by
Map.put(Object, Object) |
class |
PutMapCommand |
class |
RemoveCommand |
class |
ReplaceCommand |
class |
VersionedPutKeyValueCommand
A form of
PutKeyValueCommand that also applies a version to the entry created. |
Modifier and Type | Method and Description |
---|---|
InvocationContext |
InvocationContextContainer.createRemoteInvocationContextForCommand(VisitableCommand cacheCommand,
Address origin)
As
InvocationContextContainer.createRemoteInvocationContext(org.infinispan.remoting.transport.Address) , but returning the flags to
the context from the Command if any Flag was set. |
InvocationContext |
AbstractInvocationContextContainer.createRemoteInvocationContextForCommand(VisitableCommand cacheCommand,
Address origin) |
Modifier and Type | Field and Description |
---|---|
protected Map<GlobalTransaction,List<VisitableCommand>> |
InvalidationInterceptor.txMods |
Modifier and Type | Method and Description |
---|---|
Object |
InvocationContextInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command) |
Object |
CallInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command) |
protected Object |
BatchingInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command)
Simply check if there is an ongoing tx.
|
Object |
InterceptorChain.invoke(InvocationContext ctx,
VisitableCommand command)
Walks the command through the interceptor chain.
|
boolean |
CacheStoreInterceptor.skip(InvocationContext ctx,
VisitableCommand command)
if this is a shared cache loader and the call is of remote origin, pass up the chain
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
PrePostProcessingCommandInterceptor.doAfterCall(InvocationContext ctx,
VisitableCommand command)
Callback that is invoked after every handleXXX() method defined above.
|
protected boolean |
PrePostProcessingCommandInterceptor.doBeforeCall(InvocationContext ctx,
VisitableCommand command) |
protected Object |
CommandInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command)
The default behaviour of the visitXXX methods, which is to ignore the call and pass the call up to the next
interceptor in the chain.
|
Object |
CommandInterceptor.invokeNextInterceptor(InvocationContext ctx,
VisitableCommand command)
Invokes the next interceptor in the chain.
|
Modifier and Type | Method and Description |
---|---|
void |
StateTransferLockImpl.waitForStateTransferToEnd(InvocationContext ctx,
VisitableCommand command,
int newCacheViewId) |
void |
StateTransferLock.waitForStateTransferToEnd(InvocationContext ctx,
VisitableCommand command,
int newCacheViewId)
Release the state lock temporarily in order to allow a pending state transfer to start.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.