Package | Description |
---|---|
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.tx |
Commands that represent transactional lifecycle transitions.
|
org.infinispan.commands.tx.totalorder | |
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.
|
org.infinispan.xsite |
Modifier and Type | Interface and Description |
---|---|
interface |
DataCommand
Commands of this type manipulate data in the cache.
|
interface |
FlagAffectedCommand
Commands affected by Flags should carry them over to the remote nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFlagAffectedCommand
Base class for those commands that can carry flags.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractVisitor.handleDefault(InvocationContext ctx,
VisitableCommand command)
A default handler for all commands visited.
|
Object |
AbstractVisitor.visitUnknownCommand(InvocationContext ctx,
VisitableCommand command) |
Object |
Visitor.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 | Class and Description |
---|---|
class |
ClusteredGetCommand
Issues a remote get call.
|
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 |
TotalOrderPrepareCommand
Interface with the utilities methods that the prepare command must have when Total Order based protocol is used
|
Modifier and Type | Class and Description |
---|---|
class |
TotalOrderCommitCommand
Commit Command used in the 2nd phase of 2PC.
|
class |
TotalOrderNonVersionedPrepareCommand
Command corresponding to the 1st phase of 2PC when Total Order based protocol is used.
|
class |
TotalOrderRollbackCommand
The 2nd phase command of 2PC, used when a transaction must be aborted.
|
class |
TotalOrderVersionedCommitCommand
Command corresponding to the 2nd phase of 2PC.
|
class |
TotalOrderVersionedPrepareCommand
Command corresponding to the 1st phase of 2PC when Total Order based protocol is used.
|
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
BasicCache.put(Object, Object) |
class |
PutMapCommand |
class |
RemoveCommand |
class |
ReplaceCommand |
Modifier and Type | Method and Description |
---|---|
InvocationContext |
AbstractInvocationContextFactory.createRemoteInvocationContextForCommand(VisitableCommand cacheCommand,
Address origin) |
InvocationContext |
InvocationContextFactory.createRemoteInvocationContextForCommand(VisitableCommand cacheCommand,
Address origin)
As
InvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address) ,
but returning the flags to the context from the Command if any Flag was set. |
Modifier and Type | Method and Description |
---|---|
Object |
CallInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command) |
protected Object |
BatchingInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command)
Simply check if there is an ongoing tx.
|
Object |
InvocationContextInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command) |
Object |
InterceptorChain.invoke(InvocationContext ctx,
VisitableCommand command)
Walks the command through the interceptor 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 |
---|---|
protected Object |
StateTransferInterceptor.handleDefault(InvocationContext ctx,
VisitableCommand command) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BackupSenderImpl.CustomBackupPolicyInvoker.handleDefault(InvocationContext ctx,
VisitableCommand command) |
Object |
BackupReceiverImpl.handleRemoteCommand(VisitableCommand command) |
Object |
BackupReceiver.handleRemoteCommand(VisitableCommand command) |
void |
BackupSender.processResponses(BackupResponse backupResponse,
VisitableCommand command)
Processes the responses of a backup command.
|
void |
BackupSenderImpl.processResponses(BackupResponse backupResponse,
VisitableCommand command) |
void |
BackupSender.processResponses(BackupResponse backupResponse,
VisitableCommand command,
Transaction transaction) |
void |
BackupSenderImpl.processResponses(BackupResponse backupResponse,
VisitableCommand command,
Transaction transaction) |
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.