Interface AieSystemAuditApi

    • Method Detail

      • truncateAll

        void truncateAll()
                  throws AttivioException
        Truncates all data tables containing audit information. This is provided at the system level as an efficient way to get rid of all audit related data.
        Throws:
        AttivioException
      • getErrorSummary

        java.util.List<ErrorRow> getErrorSummary​(java.util.UUID clientId)
      • updateSummary

        void updateSummary​(AuditClientSummary summary)
                    throws AttivioException
        Updates the summary record to the provided value. Used to correct the summary when audit updates get out of sync.
        Parameters:
        summary -
        Throws:
        AttivioException
      • setLastLossDetectionSequence

        void setLastLossDetectionSequence​(java.util.UUID clientId,
                                          long seq)
                                   throws AttivioException
        Updates the last sequence number considered for loss detection for clientId. Used by loss detection to determine which detail records to be considered for the next round of loss detection. Note, that the storage and retrieval mechanism assume that the sequence numbers stored are always increasing. Attempts to set a lower sequence number will result in undefined behavior. If no activity exists for clientId then result is undefined.
        Parameters:
        clientId -
        seq -
        Throws:
        AttivioException