|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultService
Service interface providing methods to store and query for event results.
| Method Summary | |
|---|---|
long |
countEventsByFailure()
|
long |
countEventsByName(String name)
Count the number of previously-completed events with the given name. |
long |
countEventsBySuccess()
|
List<EventRecord> |
findEventsByName(String name,
int skip,
int limit)
Find previously-completed events with the given name |
EventRecord |
recordResult(EventRecord result)
Simply store an event for later use |
| Method Detail |
|---|
EventRecord recordResult(EventRecord result)
result - the result to store
List<EventRecord> findEventsByName(String name,
int skip,
int limit)
name - the name of the event as recordedskip - the number of results to skip (for paging)limit - the number of results to retrieve
long countEventsByName(String name)
name - the name of the event as recored
long countEventsBySuccess()
long countEventsByFailure()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||