public static class EmittingRequestLogger.RequestLogEvent extends Object implements com.metamx.emitter.core.Event
| Constructor and Description |
|---|
EmittingRequestLogger.RequestLogEvent(String service,
String host,
String feed,
RequestLogLine request) |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getCreatedTime() |
String |
getFeed() |
String |
getHost() |
Query |
getQuery() |
QueryStats |
getQueryStats() |
String |
getRemoteAddr() |
String |
getService() |
boolean |
isSafeToBuffer() |
Map<String,Object> |
toMap() |
public EmittingRequestLogger.RequestLogEvent(String service, String host, String feed, RequestLogLine request)
public Map<String,Object> toMap()
toMap in interface com.metamx.emitter.core.Eventpublic String getFeed()
getFeed in interface com.metamx.emitter.core.Eventpublic org.joda.time.DateTime getCreatedTime()
getCreatedTime in interface com.metamx.emitter.core.Eventpublic String getService()
public String getHost()
public Query getQuery()
public String getRemoteAddr()
public QueryStats getQueryStats()
public boolean isSafeToBuffer()
isSafeToBuffer in interface com.metamx.emitter.core.EventCopyright © 2011–2015. All rights reserved.