| Modifier and Type | Method and Description |
|---|---|
DocumentEvent |
FailedDocumentEvent.documentEvent() |
DocumentEvent |
DocumentEvent.merge(DocumentEvent event)
If possible, returns an event that represents both this event and the provided event.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends DocumentEvent> |
DocumentEventRepository.retrievePriorityDocumentEventsUpTo(int maxEvents)
Retrieve the top
maxEvents document events in priority order. |
Future<Collection<DocumentEvent>> |
Notification.toDocumentEvents()
Immediately returns with a
Future representing the collection of
DocumentEvents this notification should produce. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DocumentEvent.couldMergeWith(DocumentEvent event)
Determines if the entity looked up in this event and the provided event could be represented
instead as a single event which refers to data for both events.
|
void |
DocumentEventRepository.ensureTransactionActive(DocumentEvent event)
Throws a descriptive exception if the provided
event is not in an active transaction,
or if the current state of its transaction is unknown. |
boolean |
DocumentEvent.isSupersededBy(DocumentEvent event)
If the provided event's entity is looked up, will it include whatever change that this event
was intended to share?
|
DocumentEvent |
DocumentEvent.merge(DocumentEvent event)
If possible, returns an event that represents both this event and the provided event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentEventRepository.addNewDocumentEvents(Collection<? extends DocumentEvent> documentEvents)
Persists new document events.
|
void |
DocumentEventRepository.markDocumentEventsPublishedOrFailed(Collection<? extends DocumentEvent> events,
Collection<FailedDocumentEvent> failures)
Ends the active transactions with the provided events, providing failure information if any
were not able to be published.
|
| Constructor and Description |
|---|
FailedDocumentEvent(DocumentEvent documentEvent,
Exception exception) |
Copyright © 2016. All rights reserved.