Class VerifyAuditConsumerWorker
java.lang.Object
com.evolveum.midpoint.ninja.action.worker.BaseWorker<O,T>
com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker<VerifyAuditOptions,AuditEventRecordType>
com.evolveum.midpoint.ninja.action.audit.VerifyAuditConsumerWorker
- All Implemented Interfaces:
Runnable
public class VerifyAuditConsumerWorker
extends AbstractWriterConsumerWorker<VerifyAuditOptions,AuditEventRecordType>
Consumer writing exported audit events to the writer (stdout or file).
-
Field Summary
Fields inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
CONSUMER_POLL_TIMEOUT, context, operation, options, queue
-
Constructor Summary
ConstructorDescriptionVerifyAuditConsumerWorker
(NinjaContext context, VerifyAuditOptions options, BlockingQueue<AuditEventRecordType> queue, OperationStatus operation) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
long
long
long
long
long
protected void
init()
protected void
write
(Writer writer, AuditEventRecordType object) Methods inherited from class com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker
destroy, run
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
isDone, isWorkersDone, markDone, shouldConsumerStop
-
Field Details
-
REPORT_HEADER
-
-
Constructor Details
-
VerifyAuditConsumerWorker
public VerifyAuditConsumerWorker(NinjaContext context, VerifyAuditOptions options, BlockingQueue<AuditEventRecordType> queue, OperationStatus operation)
-
-
Method Details
-
init
protected void init()- Overrides:
init
in classAbstractWriterConsumerWorker<VerifyAuditOptions,
AuditEventRecordType>
-
write
protected void write(Writer writer, AuditEventRecordType object) throws SchemaException, IOException - Specified by:
write
in classAbstractWriterConsumerWorker<VerifyAuditOptions,
AuditEventRecordType> - Throws:
SchemaException
IOException
-
getProlog
- Specified by:
getProlog
in classAbstractWriterConsumerWorker<VerifyAuditOptions,
AuditEventRecordType>
-
getEpilog
- Specified by:
getEpilog
in classAbstractWriterConsumerWorker<VerifyAuditOptions,
AuditEventRecordType>
-
getRecordsWithIssueCount
public long getRecordsWithIssueCount() -
getRecordsWithIssue
public long getRecordsWithIssue() -
getUnknownCount
public long getUnknownCount() -
getErrorCount
public long getErrorCount() -
getWarningCount
public long getWarningCount()
-