Package com.redis.riot
Class JobCommandContext
- java.lang.Object
-
- com.redis.riot.JobCommandContext
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class JobCommandContext extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description JobCommandContext(com.redis.spring.batch.support.JobRunner jobRunner, RedisOptions redisOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
com.redis.spring.batch.support.JobRunner
getJobRunner()
io.lettuce.core.AbstractRedisClient
getRedisClient()
RedisOptions
getRedisOptions()
org.springframework.batch.core.job.builder.JobBuilder
job(java.lang.String name)
org.springframework.batch.core.step.builder.StepBuilder
step(java.lang.String name)
-
-
-
Constructor Detail
-
JobCommandContext
public JobCommandContext(com.redis.spring.batch.support.JobRunner jobRunner, RedisOptions redisOptions)
-
-
Method Detail
-
getJobRunner
public com.redis.spring.batch.support.JobRunner getJobRunner()
-
getRedisOptions
public RedisOptions getRedisOptions()
-
getRedisClient
public io.lettuce.core.AbstractRedisClient getRedisClient()
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
job
public org.springframework.batch.core.job.builder.JobBuilder job(java.lang.String name)
-
step
public org.springframework.batch.core.step.builder.StepBuilder step(java.lang.String name)
-
-