Package com.linkedin.venice.jobs
Interface ComputeJob
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
AbstractDataWriterSparkJob
,DataWriterComputeJob
,DataWriterMRJob
,DataWriterSparkJob
public interface ComputeJob extends java.io.Closeable
An interface to abstract executing and monitoring a compute job running on any batch compute engine
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComputeJob.Status
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
void
configure(VeniceProperties properties)
java.lang.Throwable
getFailureReason()
ComputeJob.Status
getStatus()
default void
kill()
void
runJob()
-
-
-
Method Detail
-
configure
void configure(VeniceProperties properties)
-
runJob
void runJob()
-
getStatus
ComputeJob.Status getStatus()
-
getFailureReason
java.lang.Throwable getFailureReason()
-
kill
default void kill()
-
close
default void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-