Релизания менеджера для работы с уведомлениями на основе хранилища JCR.
Релизания менеджера для работы с уведомлениями на основе хранилища JCR.
NotificationManager
Обработчик отвечающий за отправку пачки уведомлений по каналу электронной почты.
Класс одиночка используемый в кластере для формирования и последующей передачи на обработку пачкек уведомлений.
Класс одиночка используемый в кластере для формирования и последующей передачи на обработку пачкек уведомлений. Экземпляр объекта создается при запуске приложения и пересоздается на любой рабочей ячейке кластера в случае выхода из строя первоначальной ячейки на которой он был создан.
Запуск планировщика для отправки уведомлений производится с периодичностью
заданной в конфигурационном файле:
- notification.scheduler.delay
задержка после инициализации обработчика
- notification.scheduler.sender.interval
интервал запуска планировщика
К обработке подлежат уведомления созданные ранее относительно текущего
времени на значение заданное в конфигурационном файле под ключем
notification.batch.lag
.
Максимальное количество уведомлений в одной пачке, регулируется посредством
изменения настройки notification.batch.size
.
Запуск планировщика для очистки уведомлений производится с переодичностью
заданной в конфигурационном файле:
- notification.scheduler.delay
задержка после инициализации обработчика
- notification.scheduler.cleaner.interval
интервал запуска планировщика
Очистка будет применяться к прочитанным уведомлениям срок актуальности
которых превышает значение notification.cleanup.seen
по отношению к текущей
дате; а так же к непрочитанным сообщениям срок актуальности которых превышает
значение notification.cleanup.obsolete
по отношению к текущей дате.
NotificationHandlerInitializer
Инициализатор одиночки работающей в кластере для обработки уведомлений.
Инициализатор одиночки работающей в кластере для обработки уведомлений.
ApplicationInfo.OnInitListener
Empty notification listener handler for exception cases.
A constant for the node type name notification:batch
.
A constant for the node type name notification:batch
.
A constant for the node type name batch:email
.
A constant for the node type name batch:email
.
A constant for the node type name notification:email
.
A constant for the node type name notification:email
.
A constant for the node type name notification:notification
.
A constant for the node type name notification:notification
.
A constant for the node type name notification:reference
.
A constant for the node type name notification:reference
.
A constant for the node type name notification:user
.
A constant for the node type name notification:user
.
Объект с командами для работы с обработчиком уведомлений.
A constant for the node path notification
.
A constant for the node path notification
.
A constant for the node path notification/userUUID
.
A constant for the node path notification/userUUID
.
A constant for the node path notification/userUUID/appCode
.
A constant for the node path notification/userUUID/appCode
.
A constant for the node property notification:expiration
.
A constant for the node property notification:expiration
.
A constant for the node property notification:identities
.
A constant for the node property notification:identities
.
A constant for the node property notification:last
.
A constant for the node property notification:last
.
A constant for the node property batch:processed
.
A constant for the node property batch:processed
.
A constant for the node property notification:seen
.
A constant for the node property notification:seen
.
A constant for the node property notification:sender
.
A constant for the node property notification:sender
.
A constant for the node property notification:source
.
A constant for the node property notification:source
.
A constant for the node property notification:status
.
A constant for the node property notification:status
.
A constant for the node property notification:text
.
A constant for the node property notification:text
.
A constant for the node property notification:title
.
A constant for the node property notification:title
.
A constant for the node property notification:to
.
A constant for the node property notification:to
.
A constant for the node relative path batch
.
A constant for the node relative path batch
.
A constant for the node relative path email
.
A constant for the node relative path email
.
Константа для статуса неотправленного уведомления по причине неверного формата адреса электронной почты.
Константа для статуса новых уведомлений.
Константа для статуса отправленных уведомлений.
A constant for the workspace notification
.
A constant for the workspace notification
.
Execute the logic for JCR session.
Execute the logic for JCR session.
function that should be executed
result of the function execution
The package object
atom.notification
contains constants for notification operations.