|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WiretapService
This Service allows Events to be dumped out at runtime for later
retrieval and inspection
| Method Summary | |
|---|---|
PagedSearchResult<WiretapEvent> |
findWiretapEvents(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent)
Allows previously stored Events to be searched for. |
PagedWiretapSearchResult |
findWiretapEvents(Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent,
int pageSize,
int pageNo)
Deprecated. - Use other findWiretapEvents instead Allows previously stored Events to be searched for. By default the search has no restrictions. Specifying any of the arguments as anything other than null will cause the search to be restricted by an exact match on that field |
WiretapEvent |
getWiretapEvent(Long wiretapEventId)
Retrieve a specific WiretapEvent by Id |
void |
housekeep()
Causes all WiretapEvents that are past their expiry to be
deleted |
void |
tapEvent(Event event,
String componentName,
String moduleName,
String flowName,
Long timeToLive)
dumps a snapshot of an Event at runtime in the form of one
or more WiretapEvents - one for every Payload
contained |
| Method Detail |
|---|
PagedWiretapSearchResult findWiretapEvents(Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent,
int pageSize,
int pageNo)
moduleNames - - Set of names of modules to include in search - must
contain at least one moduleNamemoduleFlow - - The name of Flow internal to the ModulecomponentName - - The name of the componenteventId - - The Event IdpayloadId - - The Payload IdfromDate - - Include only events after fromDateuntilDate - - Include only events before untilDatepayloadContent - - The Payload contentpageSize - - how many results to return in the resultpageNo - - page index into the greater result set
WiretapEventHeader representing the result
of the search
IllegalArgumentException - - if moduleNames is null or empty
PagedSearchResult<WiretapEvent> findWiretapEvents(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent)
pageNo - - page index into the greater result setpageSize - - how many results to return in the resultorderBy - - The field to order byorderAscending - - Ascending flagmoduleNames - - Set of names of modules to include in search - must
contain at least one moduleNamemoduleFlow - - The name of Flow internal to the ModulecomponentName - - The name of the componenteventId - - The Event IdpayloadId - - The Payload IdfromDate - - Include only events after fromDateuntilDate - - Include only events before untilDatepayloadContent - - The Payload content
WiretapEventHeader representing the result
of the search
IllegalArgumentException - - if moduleNames is null or emptyWiretapEvent getWiretapEvent(Long wiretapEventId)
WiretapEvent by Id
wiretapEventId - - The id of the wiretap event to retrieve
WiretapEvent
void tapEvent(Event event,
String componentName,
String moduleName,
String flowName,
Long timeToLive)
Event at runtime in the form of one
or more WiretapEvents - one for every Payload
contained
event - - Event to snapshotcomponentName - - name of the componentmoduleName - - name of the ModuleflowName - - name of the FlowtimeToLive - - no of minutes from now until
WiretapEvents should expirevoid housekeep()
WiretapEvents that are past their expiry to be
deleted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||