public interface Command
Modifier and Type | Method and Description |
---|---|
scala.collection.Seq<Object> |
sideEffectResult()
A concrete command should override this lazy field to wrap up any side effects caused by the
command or any other computation that should be evaluated exactly once.
|
scala.collection.Seq<Object> sideEffectResult()
The execute()
method of all the physical command classes should reference sideEffectResult
so that the command can be executed eagerly right after the command query is created.