Class EventEntry
java.lang.Object
software.xdev.mockserver.event.model.EventEntry
- All Implemented Interfaces:
com.lmax.disruptor.EventTranslator<EventEntry>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()booleanlonggetType()inthashCode()id()booleanbooleanmatches(HttpRequestMatcher matcher) booleanmatchesAnyExpectationId(List<String> expectationIds) setConsumer(Runnable consumer) setCorrelationId(String correlationId) setDeleted(boolean deleted) setEpochTime(long epochTime) setExpectation(Expectation expectation) setExpectation(RequestDefinition httpRequest, HttpResponse httpResponse) setExpectationId(String expectationId) setHttpError(HttpError httpError) setHttpRequest(RequestDefinition httpRequest) setHttpRequests(RequestDefinition[] httpRequests) setHttpResponse(HttpResponse httpResponse) setType(EventEntry.EventType type) toString()voidtranslateTo(EventEntry event, long sequence)
-
Constructor Details
-
EventEntry
public EventEntry()
-
-
Method Details
-
id
-
clear
public void clear() -
getEpochTime
public long getEpochTime() -
setEpochTime
-
getTimestamp
-
getType
-
setType
-
getCorrelationId
-
setCorrelationId
-
getHttpRequests
-
matches
-
setHttpRequests
-
getHttpRequest
-
setHttpRequest
-
getHttpResponse
-
setHttpResponse
-
getHttpError
-
setHttpError
-
getExpectation
-
setExpectation
-
setExpectation
-
getExpectationId
-
setExpectationId
-
matchesAnyExpectationId
-
getException
-
setException
-
getConsumer
-
setConsumer
-
isDeleted
public boolean isDeleted() -
setDeleted
-
cloneAndClear
-
clone
-
translateTo
- Specified by:
translateToin interfacecom.lmax.disruptor.EventTranslator<EventEntry>
-
equals
-
hashCode
public int hashCode() -
toString
-