class EventRunnable implements Runnable {
    static final Logger log = LoggerFactory.getLogger(EventRunnable.class);

    private CloudEventServiceLocalImpl eventService;
    private Event event;

    public EventRunnable(CloudEventServiceLocalImpl eventService, Event event) {
        this.eventService = eventService;
        this.event = event;
    }

    @Override
    public void run() {<FILL_FUNCTION_BODY>}
}

        try {
            //派发
            eventService.distribute(event);
        } catch (Throwable e) {
            log.warn(e.getMessage(), e);
        }
    
<no_super_class>