Interface ThreadWorkerCreator<T>
-
- Type Parameters:
T
- the type of the object
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ThreadWorkerCreator<T>
A functional interface for generating a SailPointWorker from a given set of objects, a consumer for those objects, and a taskContext for doing updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SailPointWorker
createWorker(Iterable<T> objects, PrivateContextObjectConsumer<T> consumer, ThreadedTaskListener<T> taskContext)
Creates a new worker which should be runnable in either a thread or a partition for the given list of objects.
-
-
-
Method Detail
-
createWorker
SailPointWorker createWorker(Iterable<T> objects, PrivateContextObjectConsumer<T> consumer, ThreadedTaskListener<T> taskContext)
Creates a new worker which should be runnable in either a thread or a partition for the given list of objects.- Parameters:
objects
- The objects in questionconsumer
- The private context consumertaskContext
- The task context- Returns:
- The constructed worker
-
-