该函数比较简单,没必要使用状态机。
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.
或者只使用状态码,并使用删除日期作为完成日期。
Or maybe it should be a status code only, and use the deleted date as the done date.
比如,有些问题使用状态机比使用声明性规则具有更加简洁的表述。
For example, some problems lend themselves to more succinct expression as a state machine than as a set of declarative rules.
此处的解决方案是切换到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.
要使用状态机,可以实例化一个Nonprofit对象并在其上为每个事件调用方法,后跟一个 !
To use the state machine, I can instantiate a Nonprofit object and call methods on it for each event, followed by a !, as in Listing 2
使用状态图表(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.
通过 Axum,您可以声明代理打算如何使用域状态。
With Axum, you have the option to declaratively state how an agent intends to use domain state.
图5显示的是目前使用控件状态的控件列表及其存储的属性,供您参考。
Figure 5 shows a list of the controls that currently make use of control state and what properties they store there for your reference.
这由流程组合中使用的状态字段值驱动。
This will be driven by the value of the status field used in the process orchestration.
productservice使用模型状态(model state)为controller传递验证错误信息。
The product service USES model state to pass validation error messages back to the controller.
可以使用业务状态机和业务流程来协调应用程序的各个部分。
You can use both business state machines and business processes to coordinate parts of your application.
为了更为准确地模拟现实流程行为,可以使用分布、稳定状态模拟、业务项实例和其他功能。
To more accurately simulate real-workd process behavior, you can use distributions, steady state simulation, business item instances and other capabilities.
这个方法使用当前状态和事件类型作为关联数组的索引,从actionTransitionFunctions表中选择要调用的函数。
The method does select a function to call from the actionTransitionFunctions table using the current state and event type as associative array indexes.
WebSpherePortalV5.1增强了其JSR 168编程模式的实现,支持以下可供Portlet使用的状态类型。
WebSphere Portal V5.1 enhances its implementation of the JSR 168 programming model. which supports the following types of states that a portlet can make use of.
这就可以阻止汽车被别人开走,并且会通过读卡器闪烁红灯来显示此车处于“使用中”的状态。
This blocks the vehicle from being accessed by another party, and shows its "in use" status by a red blinking signal on the card reader.
portlet使用大量状态变量控制执行流程并判断将呈现哪个UI。
The portlet USES a number of state variables to control the flow of execution and determine which UI is rendered.
portlet使用大量状态变量控制执行流程并判断将呈现哪个UI。
The portlet USES a number of state variables to control the flow of execution and determine which UI is rendered.
应用推荐