发明名称 Task execution mechanism with automated condition checking and compensation
摘要 A method of executing a task in a manner that verifies that performance of the task will likely be successful. This may be accomplished using a task object that specifies one or more preconditions that must be satisfied in order for the task to be successful. The preconditions are verified using condition objects. If the preconditions are not satisfied, the task fails before its execution even began. On the other hand, if the preconditions are satisfied, the task is executed. This may be accomplished by, for example, calling an execution method of the task object. If the execution fails, the task may be undone by, for example, calling a compensation method of the task object. After execution, one or more postconditions may be verified in a similar manner. If the postconditions are not satisfied, then the compensation method may be called in that circumstance as well.
申请公布号 US2006195844(A1) 申请公布日期 2006.08.31
申请号 US20050065885 申请日期 2005.02.25
申请人 MICROSOFT CORPORATION 发明人 JALOBEANU MIHAI R.
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址