/** * Set the timeout for shutting down the Gobblin instance driver after the job is done. */ public EmbeddedGobblin setShutdownTimeout(long timeout, TimeUnit timeUnit) { this.shutdownTimeout = new FullTimeout(timeout, timeUnit); return this; }
/** * Set the timeout for the Gobblin job execution. */ public EmbeddedGobblin setJobTimeout(long timeout, TimeUnit timeUnit) { this.jobTimeout = new FullTimeout(timeout, timeUnit); return this; }
/** * Set the timeout for launching the Gobblin job. */ public EmbeddedGobblin setLaunchTimeout(long timeout, TimeUnit timeUnit) { this.launchTimeout = new FullTimeout(timeout, timeUnit); return this; }