Class EventDispatcher


  • public class EventDispatcher
    extends Object
    • Constructor Detail

      • EventDispatcher

        public EventDispatcher​(String instanceKey,
                               Dispatcher eventDispatcher)
    • Method Detail

      • emitEvent

        public void emitEvent​(NamespaceSynchronizationConfig nsConfig,
                              ChangeEvent<BsonDocument> event)
        Emits a change event for the given document id.
        Parameters:
        nsConfig - the configuration for the namespace to which the document referred to by the change event belongs.
        event - the change event.