摘要 |
A computer implemented process is defined to operate on three types of objects: Task Objects, Resume Objects, and State Objects. To define a Task Objects are implemented to perform the actions required to complete a particular aspect of the process. A State Object maintains information about the currently executing process, such as the values of variables and the current location in the executing process. A Resume Object directs process execution by specifying which Task Objects or Resume Objects to execute next. A key aspect of the system is the ability to suspend execution at any time and seamlessly resume execution at either the exact point execution was stopped or at any execution point prior to suspension. This accomplished by periodically storing Snapshots of the execution to persistent storage, which can later be used to restore the state of the system to that of the Snapshot. |