WIP: Implement worker thread for notification service #546

Closed
thasleem wants to merge 2 commits from thasleem/device-mgt-core:notification-11094 into master

Worker Thread Implmentation for Notification Service

  • Created the NotificationWorker class to process notifications asynchronously.
  • Used a LinkedBlockingQueue to queue incoming notification tasks.
  • Set up a ThreadPoolExecutor to handle notifications concurrently.
  • Added logic to ensure that worker thread is initialized only once to minimize unnecessary runtime of the notification service from the moment of login until a notification is triggered.
### Worker Thread Implmentation for Notification Service * Created the NotificationWorker class to process notifications asynchronously. * Used a LinkedBlockingQueue to queue incoming notification tasks. * Set up a ThreadPoolExecutor to handle notifications concurrently. * Added logic to ensure that worker thread is initialized only once to minimize unnecessary runtime of the notification service from the moment of login until a notification is triggered.
thasleem added 1 commit 3 months ago
thasleem added 1 commit 2 months ago
thasleem closed this pull request 2 months ago
Poster

Closing this due to the PR raised via https://github.com/entgra/device-mgt-core/pull/8

Closing this due to the PR raised via https://github.com/entgra/device-mgt-core/pull/8
Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#546
Loading…
There is no content yet.