该函数比较简单,没必要使用状态机。
This function is relatively trivial, and does not require using a state machine.
对于基于状态的行为,可以使用状态机。
业务流程、状态机和规则。
请记住,NFA是一个实现转换图的状态机。
Remember that the NFA is a state machine that implements the transition diagram.
每个复合状态都包括一个子状态机。
状态机混合了表示状态的节点以及节点间的转换。
A state machine has a mixture of nodes representing states and transitions between them.
构成状态机接口的操作必须是请求-响应类型。
The operations that make up an interface of a state machine may be of either the one-way or request-response type.
设计此行为所用的有限状态机模式使逻辑清晰透明。
The finite state machine pattern used to design this behavior makes its logic transparent.
暂停的线程和状态机都可以捕获执行状态。
Suspended threads and state machines can both capture execution state nicely.
某个子状态机适合哪种或哪些类型的实体?
Which type or types of entities is a certain sub-state machine suitable for?
它包含对基于BPEL的流程流和业务状态机的支持。
It includes support for both BPEL-based process flows, as well as business state machines.
状态机等待操作从一个状态转换到另一个状态。
A state machine awaits operations to transition from one state to another.
您使用请求向状态机发送消息,以触发状态转换。
You use the request to send a message to the state machine to trigger a state transition.
可以使用业务状态机和业务流程来协调应用程序的各个部分。
You can use both business state machines and business processes to coordinate parts of your application.
NFA仅仅是一个用于表示实现转换图的状态机的华丽词语。
NFA is simply a fancy word for a state machine that implements the transition diagram.
业务状态机——将业务流程建模为有限的状态和事件转移集。
Business state machines - Models a business process as a finite set of states and event transitions.
这时,我们可以使用多种方法来查看刚才创建的状态机实例。
At this point, there are a number of ways to look at the state machine instance we just created.
在业务状态机中,以及在业务处理中,有时会需要自定义逻辑。
In business state machines, as well as in business processes, you'll sometimes need custom logic.
这意味着,每个操作必须传递能够识别状态机实例的独特信息。
This means that each operation has to pass the unique information that identifies the state machine instance.
业务状态机的设计基于订单的各个状态和这些状态之间的转换。
The business state machine design is based on the states of the order and the transitions between those states.
您也可以查询状态机的当前状态来确定操作的有效性。
You can also query the state machine? S current state to determine an operation? S validity.
然而,这只是一个选择问题;我们可以使用交互作用或者状态机。
However, this was simply a matter of choice; we could have used an interaction or state machine.
相关集告知状态机对于给定的输入数据使用哪个正在运行的实例。
A correlation set tells the state machine which running instance to use for the given input data.
请记住,您需要让状态机知道您正在将消息发送到哪个运行实例。
Remember, you need to let the state machine know which running instance that you are sending the message to.
比如,有些问题使用状态机比使用声明性规则具有更加简洁的表述。
For example, some problems lend themselves to more succinct expression as a state machine than as a set of declarative rules.
状态机如何响应一个给定事件取决于该状态机的当前状态。
How the state machine responds to a given event depends on the current state of the state machine.
如果您有许多触发其它选项或操作的选项,则应该考虑使用有限状态机。
You should look into finite state machines if you have lots of options that trigger other options or actions.
此进程可以长时间运行,因此它可以管理状态机状态的持久性。
This process is long running so that it manages persistence of the state of the state machine.
如果数字很大或者不确定,则状态机也许不是正确的解决方法。
If the number is huge or indefinite, a state machine is probably not the right approach.
正如您可能猜测到的,初始状态是一个状态机开始时所处的状态。
As you might guess, the initial state is the state in which a state machine starts.
应用推荐