pause()
method pauses the simulation. This method is synchronous in the sense that it will not return until all nodes in the simulation are guaranteed to be paused (i.e. no longer making progress).
stop()
, a paused service will still consume messages from the underlying transport, but those messages will be queued until the service is resumed.
Calling this method will cause the underlying UnitOfWork to become the current UnitOfWork until the the resume() method is called. It is the client's responsibility not to drop the reference to this UnitOfWork while being paused.
If the play-back is currently paused it will begin playing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|