public class LogEntry extends ObjectWithJsonToString implements com.lmax.disruptor.EventTranslator<LogEntry>
Modifier and Type | Class and Description |
---|---|
static class |
LogEntry.LogMessageType |
Modifier and Type | Field and Description |
---|---|
static DateFormat |
LOG_DATE_FORMAT |
Constructor and Description |
---|
LogEntry() |
toString
equals, hashCode
public static final DateFormat LOG_DATE_FORMAT
public String id()
public void clear()
public org.slf4j.event.Level getLogLevel()
public LogEntry setLogLevel(org.slf4j.event.Level logLevel)
public long getEpochTime()
public LogEntry setEpochTime(long epochTime)
public String getTimestamp()
public LogEntry.LogMessageType getType()
public LogEntry setType(LogEntry.LogMessageType type)
public HttpRequest[] getHttpRequests()
public HttpRequest[] getHttpUpdatedRequests()
public boolean matches(HttpRequestMatcher matcher)
public LogEntry setHttpRequests(HttpRequest[] httpRequests)
public HttpRequest getHttpRequest()
public LogEntry setHttpRequest(HttpRequest httpRequest)
public HttpResponse getHttpResponse()
public HttpResponse getHttpUpdatedResponse()
public LogEntry setHttpResponse(HttpResponse httpResponse)
public HttpError getHttpError()
public Expectation getExpectation()
public LogEntry setExpectation(Expectation expectation)
public LogEntry setExpectation(HttpRequest httpRequest, HttpResponse httpResponse)
public Throwable getThrowable()
public Runnable getConsumer()
public String getMessageFormat()
public Object[] getArguments()
public String getMessage()
public LogEntry setMatchDifference(MatchDifference matchDifference)
public void translateTo(LogEntry event, long sequence)
translateTo
in interface com.lmax.disruptor.EventTranslator<LogEntry>
protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2020. All rights reserved.