Class TraceEngine
java.lang.Object
com.aquima.interactions.trace.impl.TraceEngine
- All Implemented Interfaces:
ITraceEngine
- Author:
- A. Pragt, T. Middeldorp
-
Constructor Summary
ConstructorsConstructorDescriptionTraceEngine
(ITraceDao dao) Default constructor which sets aITraceDao
to be used by the engine.TraceEngine
(ITraceDao dao, ITimelineCreator timelineCreator) Default constructor which sets aITraceDao
and aITimelineCreator
to be used by the engine. -
Method Summary
Modifier and TypeMethodDescriptionsearch
(TraceSearchCriteria criteria) Searches for traces.void
trace
(ITraceMessage message) Inserts a trace message.
-
Constructor Details
-
TraceEngine
Default constructor which sets aITraceDao
and aITimelineCreator
to be used by the engine.- Parameters:
dao
- TheITraceDao
to be used, cannot be null.timelineCreator
- TheITimelineCreator
to be used.
-
TraceEngine
Default constructor which sets aITraceDao
to be used by the engine.- Parameters:
dao
- TheITraceDao
to be used, cannot be null.
-
-
Method Details
-
trace
Description copied from interface:ITraceEngine
Inserts a trace message.- Specified by:
trace
in interfaceITraceEngine
- Parameters:
message
- The message data, not null.- Throws:
TraceNotifyException
- in case of an unhandled exception.
-
search
Description copied from interface:ITraceEngine
Searches for traces.- Specified by:
search
in interfaceITraceEngine
- Parameters:
criteria
- The search criteria, not null.- Returns:
- List of found trace entries, not null.
- Throws:
TraceSearchException
- In case of an unhandled exception.
-