类 Event
java.lang.Object
com.alibaba.nacos.common.notify.Event
- 所有已实现的接口:
Serializable
- 直接已知子类:
AbstractAbilityControlManager.AbilityUpdateEvent,ServerConfigChangeEvent,SlowEvent,TraceEvent
An abstract class for event.
- 作者:
- liaochuntao, zongtanghu
- 另请参阅:
-
构造器详细资料
-
Event
public Event()
-
-
方法详细资料
-
sequence
public long sequence()Event sequence number, which can be used to handle the sequence of events.- 返回:
- sequence num, It's best to make sure it's monotone.
-
scope
Event scope.- 返回:
- event scope, return null if for all scope
-
isPluginEvent
public boolean isPluginEvent()Whether is plugin event. If so, the event can be dropped when no publish and subscriber without any hint. Default false- 返回:
trueif is plugin event, otherwisefalse
-