public class ImportRunner extends java.lang.Object implements ImportProcessor
ImportProcessor
.Constructor and Description |
---|
ImportRunner(ImportEnv env)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
RepeatAction |
consume(QueuedImport task)
Consumes the message data and returns an indication of whether the same
data should be delivered again.
|
public ImportRunner(ImportEnv env)
env
- the import environment.public RepeatAction consume(QueuedImport task)
RepeatConsumer
consume
in interface RepeatConsumer<QueuedImport>
task
- the data received from the channel.Repeat
to indicate the data
should be delivered again or Stop
to indicate
no further action should be taken.