Package com.redis.riot
Class AbstractImportCommand<I,O>
- java.lang.Object
-
- com.redis.riot.HelpCommand
-
- com.redis.riot.AbstractRiotCommand
-
- com.redis.riot.AbstractTransferCommand
-
- com.redis.riot.AbstractImportCommand<I,O>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
,org.springframework.batch.core.JobExecutionListener
public abstract class AbstractImportCommand<I,O> extends AbstractTransferCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.redis.riot.AbstractRiotCommand
AbstractRiotCommand.ExecutionStrategy
-
-
Field Summary
-
Fields inherited from class com.redis.riot.AbstractTransferCommand
transferOptions
-
-
Constructor Summary
Constructors Constructor Description AbstractImportCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.springframework.batch.item.ItemProcessor<I,O>
processor()
protected org.springframework.batch.core.step.builder.FaultTolerantStepBuilder<I,O>
step(org.springframework.batch.core.step.builder.StepBuilder stepBuilder, java.lang.String taskName, org.springframework.batch.item.ItemReader<I> reader)
protected org.springframework.batch.item.ItemWriter<O>
writer()
-
Methods inherited from class com.redis.riot.AbstractTransferCommand
riotStep
-
Methods inherited from class com.redis.riot.AbstractRiotCommand
afterJob, beforeJob, call, execute, flow, flow, flow, getRedisOptions, name
-
-
-
-
Method Detail
-
step
protected org.springframework.batch.core.step.builder.FaultTolerantStepBuilder<I,O> step(org.springframework.batch.core.step.builder.StepBuilder stepBuilder, java.lang.String taskName, org.springframework.batch.item.ItemReader<I> reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
processor
protected abstract org.springframework.batch.item.ItemProcessor<I,O> processor() throws java.lang.Exception
- Throws:
java.lang.Exception
-
writer
protected org.springframework.batch.item.ItemWriter<O> writer()
-
-