- All Known Implementing Classes:
DefaultProfileStream
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) Add a query event.voidend(TransactionManager manager) Transaction 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
Add a query event. -
addPersistEvent
Add a persist event. -
addEvent
Add the commit/rollback event. -
end
Transaction completed collect the profiling information.
-