接口 AuditEventRepository

    • 方法详细资料

      • add

        void add​(AuditEvent event)
        Log an event.
        参数:
        event - the audit event to log
      • find

        List<AuditEventfind​(String principal,
                              Instant after,
                              String type)
        Find audit events of specified type relating to the specified principal that occurred after the time provided.
        参数:
        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)
        返回:
        audit events of specified type relating to the principal
        从以下版本开始:
        1.4.0