|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| com.oracle.coherence.patterns.command | |
| com.oracle.coherence.patterns.command.commands | |
| com.oracle.coherence.patterns.command.internal | |
| Uses of Context in com.oracle.coherence.patterns.command |
|---|
| Classes in com.oracle.coherence.patterns.command with type parameters of type Context | |
|---|---|
interface |
Command<C extends Context>
A Command represents some action (together with required state)
that is to be asynchronously executed against a Context. |
interface |
ExecutionEnvironment<C extends Context>
An ExecutionEnvironment is provided to a Command
when it is being executed. |
interface |
PriorityCommand<C extends Context>
A PriorityCommand is a specialized Command that will be executed
prior to regular Commands. |
| Methods in com.oracle.coherence.patterns.command with type parameters of type Context | ||
|---|---|---|
|
DefaultCommandSubmitter.cancelCommand(Identifier commandIdentifier)
Attempts to cancel the execution of the Command that was issued with the specified Ticket. |
|
|
CommandSubmitter.cancelCommand(Identifier commandIdentifier)
Attempts to cancel the execution of the Command that was issued with the specified Ticket. |
|
|
DefaultCommandSubmitter.submitCommand(Identifier contextIdentifier,
Command<C> command)
Asynchronously submits the provided Command for execution
against the Context with the specified Identifier and
returns a Ticket that may be used to cancel the execution of the Command. |
|
|
CommandSubmitter.submitCommand(Identifier contextIdentifier,
Command<C> command)
Asynchronously submits the provided Command for execution
against the Context with the specified Identifier and
returns a Ticket that may be used to cancel the execution of the Command. |
|
|
DefaultCommandSubmitter.submitCommand(Identifier contextIdentifier,
Command<C> command,
boolean acceptCommandIfContextDoesNotExist)
Asynchronously submits the provided Command for execution
against the Context with the specified Identifier and
returns a Ticket that may be used to cancel the execution of the Command. |
|
|
CommandSubmitter.submitCommand(Identifier contextIdentifier,
Command<C> command,
boolean allowSubmissionWhenContextDoesNotExist)
Asynchronously submits the provided Command for execution
against the Context with the specified Identifier and
returns a Ticket that may be used to cancel the execution of the Command. |
|
| Methods in com.oracle.coherence.patterns.command that return Context | |
|---|---|
Context |
DefaultContextsManager.getContext(Identifier identifier)
Returns the most recent updated version of the Context with the
specified Identifier. |
Context |
ContextsManager.getContext(Identifier identifier)
Returns the most recent updated version of the Context with the
specified Identifier. |
| Methods in com.oracle.coherence.patterns.command with parameters of type Context | |
|---|---|
Identifier |
DefaultContextsManager.registerContext(Context context)
Registers a Context using a DefaultContextConfiguration. |
Identifier |
ContextsManager.registerContext(Context context)
Registers a Context using a DefaultContextConfiguration. |
Identifier |
DefaultContextsManager.registerContext(Context context,
ContextConfiguration contextConfiguration)
Registers a Context with a specified ContextConfiguration. |
Identifier |
ContextsManager.registerContext(Context context,
ContextConfiguration contextConfiguration)
Registers a Context with a specified ContextConfiguration. |
Identifier |
DefaultContextsManager.registerContext(Identifier contextIdentifier,
Context context)
Registers a Context with the specified Identifier
using a DefaultContextConfiguration. |
Identifier |
ContextsManager.registerContext(Identifier identifier,
Context context)
Registers a Context with the specified Identifier
using a DefaultContextConfiguration. |
Identifier |
DefaultContextsManager.registerContext(Identifier contextIdentifier,
Context context,
ContextConfiguration contextConfiguration)
Registers a Context with the specified Identifier
and ContextConfiguration. |
Identifier |
ContextsManager.registerContext(Identifier identifier,
Context context,
ContextConfiguration contextConfiguration)
Registers a Context with the specified Identifier
and ContextConfiguration. |
Identifier |
DefaultContextsManager.registerContext(String contextName,
Context context)
Registers a Context with the specified contextName
using a DefaultContextConfiguration. |
Identifier |
ContextsManager.registerContext(String contextName,
Context context)
Registers a Context with the specified contextName
using a DefaultContextConfiguration. |
Identifier |
DefaultContextsManager.registerContext(String contextName,
Context context,
ContextConfiguration contextConfiguration)
Registers a Context with the specified contextName
and ContextConfiguration. |
Identifier |
ContextsManager.registerContext(String contextName,
Context context,
ContextConfiguration contextConfiguration)
Registers a Context with the specified contextName
and ContextConfiguration. |
| Uses of Context in com.oracle.coherence.patterns.command.commands |
|---|
| Classes in com.oracle.coherence.patterns.command.commands with type parameters of type Context | |
|---|---|
class |
CommandBatch<C extends Context>
A CommandBatch allows a batch (List) of Commands to be
submitted to a single Context for execution in an all or nothing mode. |
class |
PriorityCommandAdapter<C extends Context>
A PriorityCommandAdapter turn a regular Command into
a PriorityCommand. |
| Uses of Context in com.oracle.coherence.patterns.command.internal |
|---|
| Methods in com.oracle.coherence.patterns.command.internal that return Context | |
|---|---|
Context |
ContextWrapper.getContext()
Return the Context being wrapped (ie: managed). |
| Methods in com.oracle.coherence.patterns.command.internal with parameters of type Context | |
|---|---|
void |
ContextWrapper.setContext(Context context)
Replace the Context being wrapped (ie: managed). |
| Constructors in com.oracle.coherence.patterns.command.internal with parameters of type Context | |
|---|---|
ContextWrapper(Identifier contextIdentifier,
Context context,
ContextConfiguration contextConfiguration)
Standard Constructor. |
|
CreateContextProcessor(Context context,
ContextConfiguration contextConfiguration)
Standard Constructor. |
|
UpdateContextProcessor(long contextVersion,
Context context,
Ticket lastExecutedTicket,
long executionDuration,
long waitingDuration)
Standard Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||