Class CircularArrayAccessLogKeeper

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

public class CircularArrayAccessLogKeeper extends Object
This class keeps some information from the access log from the requests in memory. It is thread-safe.
Author:
dybis
  • Field Details

  • Constructor Details

    • CircularArrayAccessLogKeeper

      public CircularArrayAccessLogKeeper()
      This class is intended to be used with injection so it can be shared between other classes.
  • Method Details

    • getUris

      public List<String> getUris()
      Creates a list of Uris.
      Returns:
      URIs as string
    • addUri

      public void addUri(String uri)
      Add a new URI. It might remove an old entry to make space for new entry.
      Parameters:
      uri - uri as string