|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Command<C extends Context>
A Command represents some action (together with required state)
that is to be asynchronously executed against a Context.
As Commands are cached objects (ie: placed in Coherence caches),
they need to at least implement Serializable, or better still, implement
ExternalizableLite or PortableObject.
To submit a Command for execution against a Context you
should use a CommandSubmitter.
Copyright (c) 2008. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Context,
CommandSubmitter,
(internal)| Method Summary | |
|---|---|
void |
execute(ExecutionEnvironment<C> executionEnvironment)
Executes the Command using the provided
ExecutionEnvironment. |
| Method Detail |
|---|
void execute(ExecutionEnvironment<C> executionEnvironment)
Command using the provided
ExecutionEnvironment.
executionEnvironment - The environment in which the Command
is being executed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||