Serialized Form


Package com.oracle.coherence.patterns.command

Class com.oracle.coherence.patterns.command.DefaultContextConfiguration extends Object implements Serializable

Serialized Fields

managementStrategy

ContextConfiguration.ManagementStrategy managementStrategy
The ContextConfiguration.ManagementStrategy for the ContextConfiguration.


Package com.oracle.coherence.patterns.command.commands

Class com.oracle.coherence.patterns.command.commands.CommandBatch extends Object implements Serializable

Serialized Fields

commands

List<E> commands
The list of Commands to be executed.

Class com.oracle.coherence.patterns.command.commands.PriorityCommandAdapter extends Object implements Serializable

Serialized Fields

command

Command<C extends Context> command
The underlying Command to be made into a PriorityCommand.


Package com.oracle.coherence.patterns.command.internal

Class com.oracle.coherence.patterns.command.internal.CancelCommandProcessor extends com.tangosol.util.processor.AbstractProcessor implements Serializable

Class com.oracle.coherence.patterns.command.internal.ClaimContextProcessor extends com.tangosol.util.processor.AbstractProcessor implements Serializable

Serialized Fields

memberUID

com.tangosol.util.UID memberUID
The UID of the Member on which we should be claiming the Context.

Class com.oracle.coherence.patterns.command.internal.CommandExecutionRequest extends Object implements Serializable

Serialized Fields

contextIdentifier

Identifier contextIdentifier
The Identifier of the Context in which the CommandExecutionRequest will execute its associated Command.


ticket

Ticket ticket
The Ticket issued to the CommandExecutionRequest by a CommandExecutor so that we may order the execution of the said CommandExecutionRequest.


command

Command<C extends Context> command
The developer provided Command to be executed by the CommandExecutor.


instantQueued

long instantQueued
The time (in milliseconds) using cluster time (since the EPOC) when the CommandExecutionRequest was queued for execution by a CommandExecutor. This is to allow us to determine the waiting time for the Command before it is executed.


status

CommandExecutionRequest.Status status
The current status of the request


checkpoint

Object checkpoint
The checkpoint (state) that can be used when recovering the execution of a Command.

See Also:
ExecutionEnvironment

Class com.oracle.coherence.patterns.command.internal.CommandExecutionRequest.Key extends Object implements Serializable

Serialized Fields

contextIdentifier

Identifier contextIdentifier
The Identifier of the Context in which the CommandExecutionRequest will be executed. We require this as part of the CommandExecutionRequest.Key to support KeyAssociation, and thus ensure the CommandExecutionRequests for associated Contexts are co-located (in the same cache partition) on the same JVM for execution.


ticket

Ticket ticket
The Ticket issued to the CommandExecutionRequest by the CommandExecutor that accepted the submission of the Command.


managementStrategy

ContextConfiguration.ManagementStrategy managementStrategy
The ContextConfiguration.ManagementStrategy for CommandExecutionRequests. May be null if the context has not been configured

Class com.oracle.coherence.patterns.command.internal.ContextWrapper extends Object implements Serializable

Serialized Fields

contextIdentifier

Identifier contextIdentifier
The Identifier of the Context.


context

Context context
The Context that is being wrapped.


contextConfiguration

ContextConfiguration contextConfiguration
The ContextConfiguration for the Context being wrapped.


contextVersion

long contextVersion
The version of a ContextWrapper is used to isolate and manage the Coherence Cluster Member that "owns" a Context. The principle is to provide "versioning" of a Context when it moves between Members (due to scale out or partition load-balancing).


lastExecutedTicket

Ticket lastExecutedTicket
The Ticket of the last successfully executed Command.


totalCommandsExecuted

long totalCommandsExecuted
The total number of Commands that have been executed.


totalCommandExecutionDuration

long totalCommandExecutionDuration
The total amount of time (in milliseconds) that Commands have taken to execute. This is the sum of individual Command execution times.


totalCommandExecutionWaitingDuration

long totalCommandExecutionWaitingDuration
The total amount of time (in milliseconds) that Commands have waited before they have been executed. This is the sum of individual Command waiting times (in the queue).

Class com.oracle.coherence.patterns.command.internal.CreateContextProcessor extends com.tangosol.util.processor.AbstractProcessor implements Serializable

Serialized Fields

context

Context context
The Context to be created.


contextConfiguration

ContextConfiguration contextConfiguration
The ContextConfiguration for the Context.

Class com.oracle.coherence.patterns.command.internal.StartCommandProcessor extends com.tangosol.util.processor.AbstractProcessor implements Serializable

Class com.oracle.coherence.patterns.command.internal.SubmissionOutcome extends Object implements Serializable

Class com.oracle.coherence.patterns.command.internal.SubmissionOutcome.Accepted extends SubmissionOutcome implements Serializable

Serialized Fields

commandExecutionRequestKey

CommandExecutionRequest.Key commandExecutionRequestKey
The CommandExecutionRequest.Key that was created for the Command that was submitted. This may be used (by clients) to cancel execution of a pending Command.


managementStrategy

ContextConfiguration.ManagementStrategy managementStrategy
The ContextConfiguration.ManagementStrategy that was used to store the accepted Command.

Class com.oracle.coherence.patterns.command.internal.SubmissionOutcome.UnknownContext extends SubmissionOutcome implements Serializable

Class com.oracle.coherence.patterns.command.internal.SubmitCommandExecutionRequestProcessor extends com.tangosol.util.processor.AbstractProcessor implements Serializable

Serialized Fields

commandExecutionRequest

CommandExecutionRequest commandExecutionRequest
The CommandExecutionRequest to submit for execution.


acceptCommandIfContextDoesNotExist

boolean acceptCommandIfContextDoesNotExist
Signifies that a CommandExecutionRequest may be accepted (ie: submitted) when the associated Context has yet to be registered. This permits Commands to be submitted before their Contexts are created.

Class com.oracle.coherence.patterns.command.internal.UpdateContextProcessor extends com.tangosol.util.processor.AbstractProcessor implements Serializable

Serialized Fields

contextVersion

long contextVersion
The version of the Context we are expecting.


context

Context context
The new Context value (null means don't update)


lastExecutedTicket

Ticket lastExecutedTicket
The Ticket just executed.


executionDuration

long executionDuration
The time (in milliseconds) that the last executed Command took to execute.


waitingDuration

long waitingDuration
The time (in milliseconds) that the last executed Command was waiting to be executed.



Copyright © 2016. All rights reserved.