java.lang.Object
io.ebeaninternal.server.transaction.TransactionProfile
Profiling information for a single transaction that has completed.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTransactionProfile(long startTime, ProfileLocation location) Create with profileId, total micros and encoded profile data. -
Method Summary
Modifier and TypeMethodDescriptiongetData()Return the profiling data in encoded form.getLabel()Return the transaction location label.longReturn the transaction start time.longReturn the total transaction execution time in micros.voidSet raw data (for JSON tools).voidsetSummary(TransactionProfile.Summary summary) voidsetTotalMicros(long totalMicros) Set total micros (for JSON tools).
-
Constructor Details
-
TransactionProfile
Create with profileId, total micros and encoded profile data.
-
-
Method Details
-
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
Return the profiling data in encoded form. -
setTotalMicros
public void setTotalMicros(long totalMicros) Set total micros (for JSON tools). -
setData
Set raw data (for JSON tools). -
getSummary
-
setSummary
-