Interface ProfileStream
public interface ProfileStream
Collects the events of a transaction being profiled.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the commit/rollback event.voidaddPersistEvent(String event, long offset, String beanName, int beanCount) Add a persist event.voidaddQueryEvent(String event, long offset, String beanName, int beanCount, String queryId, String hash, String sql) Add a query event.voidTransaction completed collect the profiling information.longoffset()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
-
addPersistEvent
-
addEvent
Add the commit/rollback event. -
end
Transaction completed collect the profiling information.
-