Class TransactionProfile
- java.lang.Object
-
- io.ebeaninternal.server.transaction.TransactionProfile
-
public class TransactionProfile extends Object
Profiling information for a single transaction that has completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionProfile.Summary
-
Constructor Summary
Constructors Constructor Description TransactionProfile(long startTime, ProfileLocation location)
Create with profileId, total micros and encoded profile data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getData()
Return the profiling data in encoded form.String
getLabel()
Return the transaction location label.long
getStartTime()
Return the transaction start time.TransactionProfile.Summary
getSummary()
long
getTotalMicros()
Return the total transaction execution time in micros.void
setData(String data)
Set raw data (for JSON tools).void
setSummary(TransactionProfile.Summary summary)
void
setTotalMicros(long totalMicros)
Set total micros (for JSON tools).
-
-
-
Constructor Detail
-
TransactionProfile
public TransactionProfile(long startTime, ProfileLocation location)
Create with profileId, total micros and encoded profile data.
-
-
Method Detail
-
getStartTime
public long getStartTime()
Return the transaction start time.
-
getTotalMicros
public long getTotalMicros()
Return the total transaction execution time in micros.
-
setTotalMicros
public void setTotalMicros(long totalMicros)
Set total micros (for JSON tools).
-
getSummary
public TransactionProfile.Summary getSummary()
-
setSummary
public void setSummary(TransactionProfile.Summary summary)
-
-