Package com.yahoo.container.logging
Class AccessLogEntry
- java.lang.Object
-
- com.yahoo.container.logging.AccessLogEntry
-
public class AccessLogEntry extends java.lang.Object
Information to be logged in the access log.
This class contains the union of all information that can be logged with all the supported access log formats.
The add methods can be called multiple times, but the parameters should be different for each invocation of the same method.
This class is thread-safe.- Author:
- Tony Vaagenes, bakksjo, bjorncs
-
-
Constructor Summary
Constructors Constructor Description AccessLogEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addKeyValue(java.lang.String key, java.lang.String value)
HitCounts
getHitCounts()
java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getKeyValues()
com.yahoo.yolean.trace.TraceNode
getTrace()
void
setHitCounts(HitCounts hitCounts)
void
setTrace(com.yahoo.yolean.trace.TraceNode traceNode)
java.lang.String
toString()
-
-
-
Method Detail
-
setHitCounts
public void setHitCounts(HitCounts hitCounts)
-
getHitCounts
public HitCounts getHitCounts()
-
addKeyValue
public void addKeyValue(java.lang.String key, java.lang.String value)
-
getKeyValues
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getKeyValues()
-
setTrace
public void setTrace(com.yahoo.yolean.trace.TraceNode traceNode)
-
getTrace
public com.yahoo.yolean.trace.TraceNode getTrace()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-