The production release enables administrators to configure emitters to filter events, that is, to discard events within the emitter so they are not sent to the event server.
产品发布版使管理员能配置发射器来过滤事件,就是说,在发射器中丢弃事件,这样这些事件就不能发送到事件服务器。
Simply put, a filter is a SAX event handler that passes the events it receives to another event handler.
简单地说,过滤器是将接收到的事件传送给另一个事件处理程序的SAX事件处理程序。
Listing 1 shows an event filter that skips all XML processing instructions.
清单1给出了一个忽略所有XML处理指令的事件过滤器。
When you create an indication of this class, indications for the events specified by the event filter are delivered.
在创建该类的表示时,将交付事件过滤器所指定的事件表示。
Listing 4 shows how to bind an event handler to an event filter with the SBLIM CIM client library.
清单4显示了如何用SBLIMCIM客户机库绑定事件处理程序与事件过滤器。
When the emitter receives a CBE, it will use this filter to determine if the event should be sent to the CEI server.
当发射器接收到CBE 时,它将使用过滤器决定是否把该事件发送到CEI 服务器。
In publish-subscribe interactions, an event published once may be acted upon by multiple subscribers; subscribers may filter incoming events by topic using selectors.
在发布-订阅交互中,一次发布的事件可能作用于多个订户;订户可以使用选择器筛选主题传入的事件。
So, binding an event filter to an event handler means you're setting up a situation in which specific actions will be taken when a particular event happens.
因此,绑定事件过滤器与事件处理程序意味着设置在特定事件发生时采取特定操作的情形。
Later, you'll define an interaction set, which will illustrate the simplest policy of an event generating an action without a filter or a delay.
稍后,您将定义一个交互集,该交互集将演示在不使用筛选器或无延迟的情况下生成操作的最简单事件策略。
If the filter approves of the current event, it is exposed to the filtered reader.
如果筛选器认可了当前事件,就将其公开给筛选过的读取器。
Mostly they seem puzzled by the purpose of filter expressions and correlation predicates, by the various event delivery options, and by the way in which updates are driven in a monitoring context.
基本上,他们似乎是被筛选器表达式和关联谓词的用途、各种事件交付选项以及监视上下文中驱动更新的方式难住了。
This pattern provides for processing of events (interactions) entering the ESB to filter and transform them into a stream of significant events which are passed to an event engine.
此模式提供了进入ESB的事件(交互)的处理,对其进行筛选,并转换为重要事件流,以传递到事件引擎。
Listing 1 shows an example of creating an event filter with SBLIM CIM client library.
清单1显示了用SBLIMCIM客户机库创建事件过滤器的示例。
Binding an event filter to an event handler.
将事件过滤器绑定到事件处理程序。
To create an event filter, create an instance of the CIM_IndicationFilter class and define values for its properties.
要创建事件过滤器,需要创建cim_indicationfilter类的实例并定义其属性值。
Fortunately, StAX allows you to skip certain event classes by implementing an event filter.
幸运的是,StAX允许您通过实现事件过滤器忽略某些事件类。
Now, when an event of type t1 occurs on that widget, first Filter 1 is informed of the event occurrence, followed by Listener 1, then Listener 2.
现在,当这个控件上产生一个t1类型的事件时,第一个接收到发生该事件的通知的是Filter1,然后是Listener 1,最后是Listener2。
In this scenario, the Actionable Event filter is the same as that in the 1 simple rule scenario.
在该场景中,ActionableEvent过滤器与1个简单规则场景中的过滤器一样。
Step 4: Implement the SearchGrid event to set the search string on the data source and filter the rows in the SearchableGridView.
第4步:用SearchGrid事件来设置SearchableGridView数据源和过滤的搜索字符串。
In this case the Actionable event filter is a very simple filter, which just checks the value in an event field.
在本例中actionableEvent过滤器是一个非常简单的过滤器,它只检查每个事件字段的值。
When you bind an event filter to an event handler, you are creating an instance of the CIM_IndicationSubscription class and setting the properties filter and handler of that instance.
在绑定事件过滤器与事件处理程序时,您是在创建cim_indicationsubscription类的实例并设置该实例的Filter和handler属性。
In addition to using the profile described above, users can create their own filter and bind it into JNDI. To create a custom event filter.
除了使用以上提到的概要,用户还可以创建他们自己的过滤器并将它绑定到JNDI。
In all measurements used to generate the results above, the Actionable event filter returned true for one in every 1000 events, so one action was generated for every 1000 events processed.
在以上所有用来生成结果的度量数据中,ActionableEvent过滤器在每处理1000个事件返回1个true,因此每处理1000个事件将生成1个动作。
An event subscription contains a filter, which is a Boolean expression that evaluates to true for events it subscribes to and to false for all other events.
事件订阅包含筛选器,这是一个布尔表达式,对所订阅的事件求值为True,对其他所有事件求值为False。
Here, I made sure that the filter logic is only executed once for each event; it is only executed when the character position within the document has changed.
在这里,我保证对每个事件过滤逻辑只执行一次,只有当文档中的字符位置发生变化时才会执行。
We install the delegate's default event filter on the editor to ensure that it provides the standard editing shortcuts that users expect.
我们把委托默认的事件过滤器安装在编辑器上,以确保它提供用户所期望的标准编辑快捷键。
The first filter you need to create is an After Buy filter that checks whether the event it is applied to occurs within an hour of a Buy event.
您需要创建的第一个筛选器是AfterBuy 筛选器,此筛选器检查其应用到的事件是否在 Buy 事件后的一小时内发生。
You'll apply this filter to a Sell event. To create the After Buy filter, do the following.
您将把此筛选器应用于Sell事件。
Changing the oil, air filter, and regular maintenance is not what I consider an enjoyable event.
改变石油,空气过滤器,并定期保养,是不是我的认为一个愉快的事件。
Changing the oil, air filter, and regular maintenance is not what I consider an enjoyable event.
改变石油,空气过滤器,并定期保养,是不是我的认为一个愉快的事件。
应用推荐