public class Twister2PipelineResult
extends java.lang.Object
implements org.apache.beam.sdk.PipelineResult
| Constructor and Description |
|---|
Twister2PipelineResult(edu.iu.dsc.tws.api.scheduler.Twister2JobState jobState) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.sdk.PipelineResult.State |
cancel() |
org.apache.beam.sdk.PipelineResult.State |
getState() |
org.apache.beam.sdk.metrics.MetricResults |
metrics() |
void |
setState(org.apache.beam.sdk.PipelineResult.State state) |
org.apache.beam.sdk.PipelineResult.State |
waitUntilFinish() |
org.apache.beam.sdk.PipelineResult.State |
waitUntilFinish(org.joda.time.Duration duration) |
public Twister2PipelineResult(edu.iu.dsc.tws.api.scheduler.Twister2JobState jobState)
public org.apache.beam.sdk.PipelineResult.State getState()
getState in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.PipelineResult.State cancel()
throws java.io.IOException
cancel in interface org.apache.beam.sdk.PipelineResultjava.io.IOExceptionpublic org.apache.beam.sdk.PipelineResult.State waitUntilFinish(org.joda.time.Duration duration)
waitUntilFinish in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.PipelineResult.State waitUntilFinish()
waitUntilFinish in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.metrics.MetricResults metrics()
metrics in interface org.apache.beam.sdk.PipelineResultpublic void setState(org.apache.beam.sdk.PipelineResult.State state)