org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration

## Interface EventStrategy.EventQueue

- All Known Implementing Classes:
    EventStrategy.DefaultEventQueue, EventStrategy.TransactionalEventQueue
  Enclosing class:
    EventStrategy

      public static interface EventStrategy.EventQueue

  Gathers messages from callbacks and fires them to listeners. When the event is sent to the listener is up to the implementation of this interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addEvent(Event evt)` Add an event to the event queue.
    `void` | `setListeners(List<MutationListener> listeners)` Provide listeners to the queue that were given to the `EventStrategy` on construction.

- - ### Method Detail

    - #### setListeners

          void setListeners(List<MutationListener> listeners)

      Provide listeners to the queue that were given to the `EventStrategy` on construction.

    - #### addEvent

          void addEvent(Event evt)

      Add an event to the event queue.

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.