Interface RequestJournal
- All Known Implementing Classes:
AbstractRequestJournal
,DisabledRequestJournal
,InMemoryRequestJournal
,StoreBackedRequestJournal
public interface RequestJournal
-
Method Summary
Modifier and TypeMethodDescriptionint
countRequestsMatching
(RequestPattern requestPattern) getRequestsMatching
(RequestPattern requestPattern) com.google.common.base.Optional<ServeEvent>
getServeEvent
(UUID id) void
removeEvent
(UUID eventId) removeEventsMatching
(RequestPattern requestPattern) removeServeEventsForStubsMatchingMetadata
(StringValuePattern metadataPattern) void
requestReceived
(ServeEvent serveEvent) void
reset()
-
Method Details
-
countRequestsMatching
-
getRequestsMatching
-
getAllServeEvents
List<ServeEvent> getAllServeEvents() -
getServeEvent
-
reset
void reset() -
requestReceived
-
removeEvent
-
removeEventsMatching
-
removeServeEventsForStubsMatchingMetadata
-