Class 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
    • Constructor Detail

      • CircularArrayAccessLogKeeper

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

      • 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