类 SmartSubscriber
java.lang.Object
com.alibaba.nacos.common.notify.listener.Subscriber
com.alibaba.nacos.common.notify.listener.SmartSubscriber
Subscribers to multiple events can be listened to.
- 作者:
- liaochuntao, zongtanghu
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanWhether to ignore expired events.Type of this subscriber's subscription.Returns which event type are smartsubscriber interested in.从类继承的方法 com.alibaba.nacos.common.notify.listener.Subscriber
executor, onEvent
-
构造器详细资料
-
SmartSubscriber
public SmartSubscriber()
-
-
方法详细资料
-
subscribeTypes
Returns which event type are smartsubscriber interested in.- 返回:
- The interestd event types.
-
subscribeType
从类复制的说明:SubscriberType of this subscriber's subscription.- 指定者:
subscribeType在类中Subscriber- 返回:
- Class which extends
Event
-
ignoreExpireEvent
public final boolean ignoreExpireEvent()从类复制的说明:SubscriberWhether to ignore expired events.- 覆盖:
ignoreExpireEvent在类中Subscriber- 返回:
- default value is
Boolean.FALSE
-