Class AbstractWriterConsumerWorker<O extends BasicExportOptions,T>
java.lang.Object
com.evolveum.midpoint.ninja.action.worker.BaseWorker<O,T>
com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker<O,T>
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ExportAuditConsumerWorker
,ExportConsumerWorker
,ExportMiningConsumerWorker
,VerifyConsumerWorker
public abstract class AbstractWriterConsumerWorker<O extends BasicExportOptions,T>
extends BaseWorker<O,T>
Created by Viliam Repan (lazyman).
-
Field Summary
Fields inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
CONSUMER_POLL_TIMEOUT, context, operation, options, queue
-
Constructor Summary
ConstructorDescriptionAbstractWriterConsumerWorker
(NinjaContext context, O options, BlockingQueue<T> queue, OperationStatus operation) -
Method Summary
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
isDone, isWorkersDone, markDone, shouldConsumerStop
-
Constructor Details
-
AbstractWriterConsumerWorker
public AbstractWriterConsumerWorker(NinjaContext context, O options, BlockingQueue<T> queue, OperationStatus operation)
-
-
Method Details
-
run
public void run() -
init
protected void init() -
destroy
protected void destroy() -
getProlog
-
write
- Throws:
SchemaException
IOException
-
getEpilog
-