Package com.linkedin.venice.jobs
Interface ComputeJob
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
AbstractDataWriterSparkJob
,DataWriterComputeJob
,DataWriterMRJob
,DataWriterSparkJob
An interface to abstract executing and monitoring a compute job running on any batch compute engine
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
void
configure
(VeniceProperties properties) default void
kill()
void
runJob()
-
Method Details
-
configure
-
runJob
void runJob() -
getStatus
ComputeJob.Status getStatus() -
getFailureReason
Throwable getFailureReason() -
kill
default void kill() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-