You can think of a long-running process as a workflow process; it may wait for an external event to happen, or call upon one or more people to perform a task.
您可以将长时间运行的流程视为工作流流程;它可能会等待外部事件发生,或呼叫一个或多个人员执行任务。
Have you ever put off a difficult phone call or a high-pressure task for days and days... only to find it looming larger and larger in your mind?
你是否曾经推迟打一个困难的电话或一种高压任务一天又一天?而这使你发现它变得越来越困难。
If an SCA component needs to call the currently valid version of a human task, the decorator process for human tasks pattern can help to achieve this.
如果SCA组件需要调用人工任务的当前有效版本,则人工任务装饰流程模式可以帮助实现此目的。
If a task comes in any other format (snail mail, face to face meeting, phone call, etc.), I immediately send myself one email with a descriptive subject and body (more info below) for each new task.
如果一个任务通过以下任何形式,如普通邮件、电视会议、电话等等,我立即给我自己发一封关于新工作的描述性的主题和主体(更多信息在下边介绍)。
Then you mentally leave that task and start thinking about heading to the store to grab something for dinner, picking up your son from school, and oh yeah, you should call Sally.
然后你的意念离开了那个任务,开始考虑到商店去买点东西做晚饭,到学校接儿子,以及,噢对了,你该给Sally打个电话。
I remember feeling like the call to eval was ugly, but at the time I couldn't think of another way to complete the task. I posted the code on my blog for all to criticize, and they quickly did.
记得当时我觉得这样调用eval是非常丑陋的做法,但那会儿我想不出更好的方式来实现这样的效果;因此我把代码贴到了博客中,等待别人的指摘;他们很快就做出了回应,并给出下面的做法。
ShippingTask provides a service for the ShippingProcess component to call when it wants to create a task that a human must complete (or in our case, a specialized shipping droid).
ShippingTask提供了一个服务,以便在 ShippingProcess组件希望创建必须人工完成的任务(或在我们示例中的特殊配送droid)时进行调用。
The framework is easy to use for most benchmarking needs: just package the target code into some type of task object (either a Callable or Runnable) and then make a single call to the benchmark class.
这个框架很容易满足大多数基准测试需求:只要把目标代码打包成特定类型的任务对象(Callable或Runnable),然后调用benchmark类。
Our task is to ensure that customers' products and services remains at the finest quality, yet still at a price that is less than what luxury brand labels call for.
我们的任务是确保客户的产品和服务仍然是最好的品质。但价格比奢侈品牌所标签的要合理。
Our task is to ensure that customers' products and services remains at the finest quality, yet still at a price that is less than what luxury brand labels call for.
我们的任务是确保客户的产品和服务仍然是最好的品质。但价格比奢侈品牌所标签的要合理。
应用推荐