blob: 68e1d42a126f46afb6a1960504dcb3e697b7d1b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package com.juick.service.activities;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
public interface ActivityListener {
@Async
@EventListener
void processFollowEvent(FollowEvent event);
@Async
@EventListener
void undoFollowEvent(UndoFollowEvent event);
@Async
@EventListener
void deleteUserEvent(DeleteUserEvent event);
@Async
@EventListener
void deleteMessageEvent(DeleteMessageEvent event);
@Async
@EventListener
void processAnnounceEvent(AnnounceEvent event);
@Async
@EventListener
void undoAnnounceEvent(UndoAnnounceEvent event);
}
|