还请考虑您是否需要使用状态机。
该函数比较简单,没必要使用状态机。
This function is relatively trivial, and does not require using a state machine.
您可以通过使用状态表来定义测试用例。
对于基于状态的行为,可以使用状态机。
直接使用状态名称和事件名称作为索引。
You'll use state names and event names directly as the array's indexes.
服务应使用状态事务建模
可以使用状态栏在视觉上进一步区分各个窗口。
You can provide yourself additional visual cues to distinguish among Windows with a status bar.
如果流程逻辑为事件驱动的,则使用状态机实现。
Use the state machine implementation if the process logic is event driven.
下面这个简单的例子说明了需要使用状态机的情况。
The following simple example is a case when you need a state machine.
或者只使用状态码,并使用删除日期作为完成日期。
Or maybe it should be a status code only, and use the deleted date as the done date.
对于为屏幕流编写文档,我们也希望使用状态转换图。
For documenting a screen flow, we also like to use state transition diagrams.
在本示例中,我们使用状态机实现一个简化订单流程。
In this example, we implement a simplified order process using a state machine.
所以,我们的问题是,什么时候使用状态机,而不是业务流程?
So, the question is, when do you use a state machine, as opposed to a business process?
比如,有些问题使用状态机比使用声明性规则具有更加简洁的表述。
For example, some problems lend themselves to more succinct expression as a state machine than as a set of declarative rules.
这样的训练不是什么稀罕的事情,靶场全年都处于使用状态。
Such trainings are not a rare thing, the gunnery range works all year round.
此处的解决方案是切换到memcache并在所有应用服务器上不再使用状态。
The solution in this case was to switch to memcache and to stop using state on any app server they had.
以前的应用在点击图标的时候会从头启动,现在,有些应用会记住上次的使用状态。
Previously, apps started from scratch whenever you clicked their icons. Now, for better or for worse, some apps resume from their last active state.
并且同一年的关于纽约手机信号的无线频谱的调查发现,将近一半的频谱处于使用状态。
And yet a study from the same year of the wireless spectrum devoted to cell phone signals in New York City found that almost half of that spectrum was in use.
通过使用状态、CPU和内存百分比的组合,您应该可以确定是否存在失控的和大量消耗系统资源的进程。
By using a combination of the state, CPU, and memory percentage, you should be able to identify if there is a process that is running away and over using your system resources.
使用状态图表(state chart diagram)(请参见图2)可以确定portlet的界面(JSP)转换。
Using a state chart diagram (see Figure 2) can help to determine the interface (JSP) transitions for the portlet.
通过与STMM的高级调优算法结合使用,在大多数情况下,这些指标可以在一小时内把系统从开箱即用配置调整到接近最优的内存使用状态。
These metrics, when combined with STMM's advanced tuning algorithms, can in most cases, tune a system from an out-of-the-box configuration to near-optimal memory usage in an hour or less.
Seam强调使用有状态组件。
管理员可以使用帐户状态标志临时启用或禁用用户帐户。
The account status flag can be used by an administrator to temporarily enable or disable the use of that account.
您可以使用稳定状态作为报告的时间范围。
You can use the steady state as the time range for your report.
然而使用视图状态也有一些缺点。
There are a number of drawbacks to the use of view state, however.
所有这些报告都使用相同的状态结果。
通过 Axum,您可以声明代理打算如何使用域状态。
With Axum, you have the option to declaratively state how an agent intends to use domain state.
通过 Axum,您可以声明代理打算如何使用域状态。
With Axum, you have the option to declaratively state how an agent intends to use domain state.
应用推荐