public class UnparseableDocumentEvent extends Object implements LightblueDocumentEvent
| Constructor and Description |
|---|
UnparseableDocumentEvent(Exception exception,
DocumentEventEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
couldMergeWith(DocumentEvent event) |
boolean |
equals(Object o) |
int |
hashCode() |
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.
|
boolean |
isSupersededBy(DocumentEvent event) |
Future<?> |
lookupDocument() |
LightblueDocumentEvent |
merge(DocumentEvent event) |
String |
toString() |
DocumentEventEntity |
wrappedDocumentEventEntity() |
public UnparseableDocumentEvent(Exception exception, DocumentEventEntity entity)
public Future<?> lookupDocument()
lookupDocument in interface DocumentEventpublic boolean isSupersededBy(DocumentEvent event)
isSupersededBy in interface DocumentEventpublic boolean couldMergeWith(DocumentEvent event)
couldMergeWith in interface DocumentEventpublic LightblueDocumentEvent merge(DocumentEvent event)
LightblueDocumentEventmerge in interface DocumentEventmerge in interface LightblueDocumentEventpublic Identity identity()
LightblueDocumentEventWe 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.
identity in interface LightblueDocumentEventpublic DocumentEventEntity wrappedDocumentEventEntity()
wrappedDocumentEventEntity in interface LightblueDocumentEventCopyright © 2017. All rights reserved.