Class VerifyConsumerWorker
java.lang.Object
com.evolveum.midpoint.ninja.action.worker.BaseWorker<O,T>
com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker<VerifyOptions,ObjectType>
com.evolveum.midpoint.ninja.action.worker.VerifyConsumerWorker
- All Implemented Interfaces:
Runnable
TODO from design point of view handling of main writer and deltaWriter is just nasty.
Fix this. Currently it was moved to VerifyReporter, still not very nice.
- Author:
- Radovan Semancik
-
Field Summary
Fields inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
CONSUMER_POLL_TIMEOUT, context, operation, options, queue
-
Constructor Summary
ConstructorDescriptionVerifyConsumerWorker
(NinjaContext context, VerifyOptions options, BlockingQueue<ObjectType> queue, OperationStatus operation) -
Method Summary
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker
run
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
isDone, isWorkersDone, markDone, shouldConsumerStop
-
Constructor Details
-
VerifyConsumerWorker
public VerifyConsumerWorker(NinjaContext context, VerifyOptions options, BlockingQueue<ObjectType> queue, OperationStatus operation)
-
-
Method Details
-
init
protected void init()- Overrides:
init
in classAbstractWriterConsumerWorker<VerifyOptions,
ObjectType>
-
destroy
public void destroy()- Overrides:
destroy
in classAbstractWriterConsumerWorker<VerifyOptions,
ObjectType>
-
getProlog
- Specified by:
getProlog
in classAbstractWriterConsumerWorker<VerifyOptions,
ObjectType>
-
getEpilog
- Specified by:
getEpilog
in classAbstractWriterConsumerWorker<VerifyOptions,
ObjectType>
-
write
- Specified by:
write
in classAbstractWriterConsumerWorker<VerifyOptions,
ObjectType> - Throws:
IOException
-
getResult
-