类 EventPusher

java.lang.Object
com.codingapi.springboot.framework.event.EventPusher

public class EventPusher extends Object
Even推送助手
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static void
    push(IEvent event)
    推送事件 默认将自动检测事件是否有循环事件,当出现循环事件时,系统将会抛出循环调用异常。
    static void
    push(IEvent event, boolean hasLoopEvent)
    推送事件 默认将自动检测事件是否有循环事件,当出现循环事件时,系统将会抛出循环调用异常。

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • EventPusher

      public EventPusher()
  • 方法详细资料

    • push

      public static void push(IEvent event)
      推送事件 默认将自动检测事件是否有循环事件,当出现循环事件时,系统将会抛出循环调用异常。
      参数:
      event - 事件
    • push

      public static void push(IEvent event, boolean hasLoopEvent)
      推送事件 默认将自动检测事件是否有循环事件,当出现循环事件时,系统将会抛出循环调用异常。 设置hasLoopEvent为true,将不会检测循环事件。
      参数:
      event - 事件
      hasLoopEvent - 是否有循环事件