org.esbtools.eventhandler.lightblue

Interface LightblueDocumentEvent

    • Method Detail

      • identity

        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.

        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.

      • wrappedDocumentEventEntity

        DocumentEventEntity wrappedDocumentEventEntity()
        Returns:
        Entity backing this document event. Every document event should be backed by an entity instance. This should refer to that one, mutable instance and should not create a new one.

Copyright © 2017. All rights reserved.