|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.mapreduce.JobExecutor org.springframework.data.hadoop.batch.mapreduce.JobTasklet
public class JobTasklet
Batch tasklet for executing one Hadoop job. Can be configured to not wait for the job to finish - by default the tasklet waits for the job submitted to finish.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.data.hadoop.mapreduce.JobExecutor |
---|
JobExecutor.JobListener |
Field Summary |
---|
Fields inherited from class org.springframework.data.hadoop.mapreduce.JobExecutor |
---|
log |
Constructor Summary | |
---|---|
JobTasklet()
|
Method Summary | |
---|---|
org.springframework.batch.repeat.RepeatStatus |
execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext)
|
Methods inherited from class org.springframework.data.hadoop.mapreduce.JobExecutor |
---|
afterPropertiesSet, destroy, findJobs, isKillJobsAtShutdown, isVerbose, isWaitForCompletion, setBeanFactory, setExecutor, setJob, setJobNames, setJobs, setKillJobAtShutdown, setVerbose, setWaitForCompletion, startJobs, startJobs, stopJobs, stopJobs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobTasklet()
Method Detail |
---|
public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext) throws java.lang.Exception
execute
in interface org.springframework.batch.core.step.tasklet.Tasklet
java.lang.Exception
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |