Public Instance Methods : Block
asyncTransact: configuration withArguments: arguments
"ACTION
Evaluate the receiver asynchronously in an Actor newly created
according to the information in @configuration. The receiver is
passed @arguments. The receiver is executed within the context
of a transaction as set out by @configuration. See
transact:withArguments:.
As the receiver is evaluated asynchronously the result is not
immediately available. This method returns an IdSstFuture which
will contain the result when available.
PARAMETERS
configuration : <SstActorConfiguration>
arguments : <Collection of <Object>>
RETURN VALUE
<IdSstFuture>
NOTES
The newly created actor is resumed even if %autoStart is turned
off in @configuration."
Categories
SST-API User
syncTransact: configuration withArguments: arguments
"ACTION
Return the result of synchronously evaluating the receiver with
@arguments in the processes of an Actor newly created according
to the information in @configuration. Execution takes place within
the context of a transaction as set out by @configuration. See
transact:withArguments:. The process executing this method is
suspended until the result of the receiver is available.
PARAMETERS
configuration : <SstActorConfiguration>
arguments : <Collection of <Object>>
RETURN VALUE
<IdSstFuture>
NOTES
The newly created actor is resumed even if %autoStart is turned
off in @configuration."
Categories
SST-API User
transact: configuration withArguments: arguments
"ACTION
Evaluate the receiver using @arguments in the context of a transaction
as specified by @configuration. See SstTransactionConfiguration
for details. If the evaluation of the receiver returns an error then the
current transaction is aborted. Otherwise it is committed. That is
unless there is already a running transaction in which case no attempt
is made to commit/abort the current transaction. Answer the result of
evaluating the receiver.
PARAMETERS
configuration : <SstActorConfiguration>
arguments : <Collection of <Object>>
RETURN VALUE
<Object>"
Categories
SST-API User
[FIRST] [PREV] [NEXT] [LAST]