Interface ProfileStream

All Known Implementing Classes:
DefaultProfileStream

public interface ProfileStream
Collects the events of a transaction being profiled.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addEvent(String event, long startOffset)
    Add the commit/rollback event.
    void
    addPersistEvent(String event, long offset, String beanName, int beanCount)
    Add a persist event.
    void
    addQueryEvent(String event, long offset, String beanName, int beanCount, String queryId)
    Add a query event.
    void
    Transaction completed collect the profiling information.
    long
    Return the offset in micros from the start of the transaction.
  • Method Details

    • offset

      long offset()
      Return the offset in micros from the start of the transaction.
    • addQueryEvent

      void addQueryEvent(String event, long offset, String beanName, int beanCount, String queryId)
      Add a query event.
    • addPersistEvent

      void addPersistEvent(String event, long offset, String beanName, int beanCount)
      Add a persist event.
    • addEvent

      void addEvent(String event, long startOffset)
      Add the commit/rollback event.
    • end

      void end(TransactionManager manager)
      Transaction completed collect the profiling information.