Class NoTaskDataPartitionedPersistTask<X,Y>
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.AbstractPartitionedPersistTask<X,Y,Void>
ch.tocco.nice2.persist.core.api.exec.NoTaskDataPartitionedPersistTask<X,Y>
- All Implemented Interfaces:
PersistTask<Iterable<X>, Iterable<Y>>
- Direct Known Subclasses:
AbstractApiKeyBatchJob.SendMailTask
public abstract class NoTaskDataPartitionedPersistTask<X,Y>
extends AbstractPartitionedPersistTask<X,Y,Void>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a function that creates an instance of Z.Methods inherited from class AbstractPartitionedPersistTask
getTaskData, partition, partition, partitionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, run, skipErrors, unwrap
-
Constructor Details
-
NoTaskDataPartitionedPersistTask
public NoTaskDataPartitionedPersistTask()
-
-
Method Details
-
createTaskData
Description copied from class:AbstractPartitionedPersistTaskCreate a function that creates an instance of Z. This function is called once for each context and should be used to load entities (or otherContextrelated objects) which are used in every iteration.- Specified by:
createTaskDatain classAbstractPartitionedPersistTask<X,Y, Void>
-