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)
AuditLogWriteClientlogAuditEvent in interface AuditLogWriteClientpublic String queryLog(String query, Integer start, Integer rows)
AuditLogQueryClientqueryLog in interface AuditLogQueryClientpublic String queryLog(AuditLogEntry logEntry, Integer start, Integer rows)
AuditLogQueryClientqueryLog in interface AuditLogQueryClientpublic boolean removeReplicaAuditEvent(AuditLogEntry logEntry)
AuditLogWriteClientremoveReplicaAuditEvent in interface AuditLogWriteClientpublic static void main(String[] args) throws InterruptedException
InterruptedExceptionCopyright © 2016. All rights reserved.