Interface ProfileStream


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, String hash, String sql)
    Add a query event.
    void
    end(String label)
    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, String hash, String sql)
      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(String label)
      Transaction completed collect the profiling information.