public class AuditLogClientSolrImpl extends Object implements AuditLogClient
Constructor and Description |
---|
AuditLogClientSolrImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
logAuditEvent(AuditLogEntry logEntry)
Add a new log entry to the audit log.
|
static void |
main(String[] args) |
String |
queryLog(AuditLogEntry logEntry,
Integer start,
Integer rows)
Query the audit log datastore by AuditLogEntry instance.
|
String |
queryLog(String query,
Integer start,
Integer rows)
Query the audit log datastore by query string.
|
boolean |
removeReplicaAuditEvent(AuditLogEntry logEntry)
Removes audit log entries based on the pid, nodeId, event type contained in
AuditLogEntry parameter logEntry.
|
public boolean logAuditEvent(AuditLogEntry logEntry)
AuditLogWriteClient
logAuditEvent
in interface AuditLogWriteClient
public String queryLog(String query, Integer start, Integer rows)
AuditLogQueryClient
queryLog
in interface AuditLogQueryClient
public String queryLog(AuditLogEntry logEntry, Integer start, Integer rows)
AuditLogQueryClient
queryLog
in interface AuditLogQueryClient
public boolean removeReplicaAuditEvent(AuditLogEntry logEntry)
AuditLogWriteClient
removeReplicaAuditEvent
in interface AuditLogWriteClient
public static void main(String[] args) throws InterruptedException
InterruptedException
Copyright © 2020. All rights reserved.