类 InMemoryAuditEventRepository

    • 方法详细资料

      • setCapacity

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

        public List<AuditEventfind​(String principal,
                                     Date after)
        从接口复制的说明: AuditEventRepository
        Find audit events relating to the specified principal since the time provided.
        指定者:
        find 在接口中 AuditEventRepository
        参数:
        principal - the principal name to search for (or null if unrestricted)
        after - timestamp of earliest result required (or null if unrestricted)
        返回:
        audit events relating to the principal
      • find

        public List<AuditEventfind​(String principal,
                                     Date after,
                                     String type)
        从接口复制的说明: AuditEventRepository
        Find audit events of specified type relating to the specified principal since the time provided.
        指定者:
        find 在接口中 AuditEventRepository
        参数:
        principal - the principal name to search for (or null if unrestricted)
        after - timestamp of earliest result required (or null if unrestricted)
        type - the event type to search for (or null if unrestricted)
        返回:
        audit events of specified type relating to the principal