Package com.attivio.platform.store.audit
Interface AieSystemAuditApi
-
- All Superinterfaces:
AuditWriterApi
- All Known Implementing Classes:
MockIngestAuditApi
public interface AieSystemAuditApi extends AuditWriterApi
Internal API for audit processing. Do NOT use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ErrorRow>
getErrorSummary(java.util.UUID clientId)
long
getLastLossDetectionSequence(java.util.UUID clientId)
void
setLastLossDetectionSequence(java.util.UUID clientId, long seq)
Updates the last sequence number considered for loss detection forclientId
.void
truncateAll()
Truncates all data tables containing audit information.void
updateSummary(AuditClientSummary summary)
Updates the summary record to the provided value.-
Methods inherited from interface com.attivio.sdk.client.audit.AuditWriterApi
audit, audit, clientHeartbeat, clientName, makeInactive, purge, purge, purgeInactiveClients
-
-
-
-
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 forclientId
. 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 forclientId
then result is undefined.- Parameters:
clientId
-seq
-- Throws:
AttivioException
-
getLastLossDetectionSequence
long getLastLossDetectionSequence(java.util.UUID clientId) throws AttivioException
- Parameters:
clientId
-- Returns:
- the last sequence number set or -1 if never set.
- Throws:
AttivioException
-
-