Class NotificationInitialPollingService
- java.lang.Object
-
- io.tesler.notifications.service.impl.AbstractNotificationPollingService
-
- io.tesler.notifications.service.impl.NotificationInitialPollingService
-
- All Implemented Interfaces:
ISystemSettingChangeEventListener
,INotificationPollingService
,EventListener
,org.springframework.context.ApplicationListener<SystemSettingChangedEvent>
@Component public class NotificationInitialPollingService extends AbstractNotificationPollingService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.tesler.notifications.service.INotificationPollingService
INotificationPollingService.NotificationCtrlDTO
-
-
Constructor Summary
Constructors Constructor Description NotificationInitialPollingService(ResponseBuilder resp, SystemSettings systemSettings, NotificationDAO notificationDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.context.request.async.DeferredResult<ResponseDTO>
addTaskInQueue(Long recipientId, Long latestNotificationId, boolean unread)
-
Methods inherited from class io.tesler.notifications.service.impl.AbstractNotificationPollingService
executePollTaskInQueue, init, onApplicationEvent
-
-
-
-
Constructor Detail
-
NotificationInitialPollingService
public NotificationInitialPollingService(ResponseBuilder resp, SystemSettings systemSettings, NotificationDAO notificationDAO)
-
-
Method Detail
-
addTaskInQueue
public org.springframework.web.context.request.async.DeferredResult<ResponseDTO> addTaskInQueue(Long recipientId, Long latestNotificationId, boolean unread)
- Specified by:
addTaskInQueue
in interfaceINotificationPollingService
- Overrides:
addTaskInQueue
in classAbstractNotificationPollingService
-
-