Class AccessLogEntry

java.lang.Object
com.yahoo.container.logging.AccessLogEntry

public class AccessLogEntry extends 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 Details

    • AccessLogEntry

      public AccessLogEntry()
  • Method Details

    • setHitCounts

      public void setHitCounts(HitCounts hitCounts)
    • getHitCounts

      public HitCounts getHitCounts()
    • addKeyValue

      public void addKeyValue(String key, String value)
    • getKeyValues

      public Map<String,List<String>> getKeyValues()
    • setTrace

      public void setTrace(com.yahoo.yolean.trace.TraceNode traceNode)
    • getTrace

      public com.yahoo.yolean.trace.TraceNode getTrace()
    • toString

      public String toString()
      Overrides:
      toString in class Object