Interface DispatcherContainer<T>

Type Parameters:
T - specifies the type of the container.
All Known Implementing Classes:
LiveScoutDispatcherContainer

public interface DispatcherContainer<T>
Represents a container used by the DisruptorDispatcher used to store un-processed messages
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the content of the current DispatcherContainer.
    void
    copy(T other)
    Copies the content of the passed DispatcherContainer to the current one.
    boolean
    Checks if is container valid
  • Method Details

    • isValid

      boolean isValid()
      Checks if is container valid
      Returns:
      treu if valid
    • copy

      void copy(T other)
      Copies the content of the passed DispatcherContainer to the current one.
      Parameters:
      other - The DispatcherContainer whose content will be copied to the current one.
      Throws:
      IllegalArgumentException - the other is a null reference.
    • clear

      void clear()
      Clears the content of the current DispatcherContainer.