Interface StreamJobsCommandStep1.StreamJobsCommandStep2
- All Known Implementing Classes:
StreamJobsCommandImpl
- Enclosing interface:
StreamJobsCommandStep1
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionconsumer(Consumer<ActivatedJob> consumer) Deprecated.Sets the consumer to receive activated jobs.
-
Method Details
-
consumer
Deprecated.Sets the consumer to receive activated jobs. Note that jobs can be activated on different threads, so the consumer should be thread-safe.- Parameters:
consumer- the job consumer- Returns:
- the builder's next step
- Throws:
NullPointerException- if the consumer is null
-
StreamJobsCommandStep1.StreamJobsCommandStep2