Interface Message

All Known Implementing Classes:
CellCacheEvent, CellCacheSegmentCreateEvent, CellCacheSegmentDeleteEvent, ConnectionEndEvent, ConnectionEvent, ConnectionStartEvent, Event, ExecutionEndEvent, ExecutionEvent, ExecutionPhaseEvent, ExecutionStartEvent, SqlStatementEndEvent, SqlStatementEvent, SqlStatementExecuteEvent, SqlStatementStartEvent, StatementEndEvent, StatementEvent, StatementStartEvent

public interface Message
Message sent to a Monitor indicating an event of interest or a command to execute.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    accept(Visitor<T> visitor)
    Dispatches a call to the appropriate visit method on Visitor.
    void
    Sets the MDC context into the current thread
  • Method Details

    • accept

      <T> T accept(Visitor<T> visitor)
      Dispatches a call to the appropriate visit method on Visitor.
      Type Parameters:
      T - Return type
      Parameters:
      visitor - Visitor
      Returns:
      Value returned by the visit method
    • setContextMap

      void setContextMap()
      Sets the MDC context into the current thread