Class InMemoryAuditEventRepository

    • Method Detail

      • setCapacity

        public void setCapacity​(int capacity)
        Set the capacity of this event repository.
        Parameters:
        capacity - the capacity
      • find

        public List<AuditEventfind​(String principal,
                                     Instant after,
                                     String type)
        Description copied from interface: AuditEventRepository
        Find audit events of specified type relating to the specified principal that occurred after the time provided.
        Specified by:
        find in interface AuditEventRepository
        Parameters:
        principal - the principal name to search for (or null if unrestricted)
        after - time after which an event must have occurred (or null if unrestricted)
        type - the event type to search for (or null if unrestricted)
        Returns:
        audit events of specified type relating to the principal