Class TransactionProfile

java.lang.Object
io.ebeaninternal.server.transaction.TransactionProfile

public final class TransactionProfile extends Object
Profiling information for a single transaction that has completed.
  • Constructor Details

    • TransactionProfile

      public TransactionProfile(long startTime, ProfileLocation location)
      Create with profileId, total micros and encoded profile data.
  • Method Details

    • getLabel

      public String getLabel()
      Return the transaction location label.
    • getStartTime

      public long getStartTime()
      Return the transaction start time.
    • getTotalMicros

      public long getTotalMicros()
      Return the total transaction execution time in micros.
    • getData

      public String getData()
      Return the profiling data in encoded form.
    • setTotalMicros

      public void setTotalMicros(long totalMicros)
      Set total micros (for JSON tools).
    • setData

      public void setData(String data)
      Set raw data (for JSON tools).
    • getSummary

      public TransactionProfile.Summary getSummary()
    • setSummary

      public void setSummary(TransactionProfile.Summary summary)