public interface LightblueDocumentEvent extends DocumentEvent
LightblueDocumentEventRepository data
model.| Modifier and Type | Method and Description |
|---|---|
Identity |
identity()
Identity is a set of key value pairs with the property of being equivalent to another
document event's identity when this document event is able to be merged with or is superseded
by that other document event.
|
LightblueDocumentEvent |
merge(DocumentEvent event) |
DocumentEventEntity |
wrappedDocumentEventEntity() |
couldMergeWith, isSupersededBy, lookupDocumentLightblueDocumentEvent merge(DocumentEvent event)
merge in interface DocumentEventIdentity identity()
We use a String representation of an identity as a resource for locking, so that one thread has ownership of all events which are able to be optimized together.
DocumentEventEntity wrappedDocumentEventEntity()
Copyright © 2017. All rights reserved.