Interface ProfileStream
-
- All Known Implementing Classes:
DefaultProfileStream
public interface ProfileStream
Collects the events of a transaction being profiled.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEvent(String event, long startOffset)
Add the commit/rollback event.void
addPersistEvent(String event, long offset, String beanName, int beanCount)
Add a persist event.void
addQueryEvent(String event, long offset, String beanName, int beanCount, String queryId)
Add a query event.void
end(TransactionManager manager)
Transaction completed collect the profiling information.long
offset()
Return the offset in micros from the start of the transaction.
-
-
-
Method Detail
-
offset
long offset()
Return the offset in micros from the start of the transaction.
-
addQueryEvent
void addQueryEvent(String event, long offset, String beanName, int beanCount, String queryId)
Add a query event.
-
addPersistEvent
void addPersistEvent(String event, long offset, String beanName, int beanCount)
Add a persist event.
-
end
void end(TransactionManager manager)
Transaction completed collect the profiling information.
-
-