public interface LightblueNotificationRepositoryConfig
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getEntityNamesToProcess()
Governs whether or not notifications are processed based on their associated entity's name.
|
java.time.Duration |
getNotificationExpireThreshold()
How long before a notification is available for retrieval do we drop the notification and
let it be reprocessed?
|
java.time.Duration |
getNotificationProcessingTimeout()
How long can a notification remain processing before we allow it to be retrieved again for
reprocessing?
|
Set<String> getEntityNamesToProcess()
java.time.Duration getNotificationProcessingTimeout()
java.time.Duration getNotificationExpireThreshold()
In other words, this governs when we stop processing a notification in flight because
we're too near when another retrieval may see it is past its
getNotificationProcessingTimeout() and retrieve it for reprocessing.
N.B. The existence of this configuration is a function of our current transaction scheme. This could go away, for instance, if we either atomically updated a notification's processing timestamp before adding its document events. Other alternative schemes are possible.
Copyright © 2017. All rights reserved.