OUT - Type of the produced elementsSRC - Stoppable source functionpublic class StoppableSourceStreamTask<OUT,SRC extends SourceFunction<OUT> & org.apache.flink.api.common.functions.StoppableFunction> extends SourceStreamTask<OUT,SRC,StoppableStreamSource<OUT,SRC>> implements org.apache.flink.runtime.jobgraph.tasks.StoppableTask
headOperator, LOG, TRIGGER_THREAD_GROUP| Constructor and Description |
|---|
StoppableSourceStreamTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
run() |
void |
stop() |
cancelTask, cleanup, initcancel, checkTimerException, createStateBackend, failExternally, finalize, getAccumulatorMap, getCheckpointBarrierListener, getCheckpointLock, getConfiguration, getCurrentProcessingTime, getHeadOutput, getName, getStreamOutputs, invoke, isCanceled, isRunning, isSerializingTimestamps, notifyCheckpointComplete, performCheckpoint, registerTimer, setInitialState, setTimeService, toString, triggerCheckpointprotected void run()
throws Exception
run in class SourceStreamTask<OUT,SRC extends SourceFunction<OUT> & org.apache.flink.api.common.functions.StoppableFunction,StoppableStreamSource<OUT,SRC extends SourceFunction<OUT> & org.apache.flink.api.common.functions.StoppableFunction>>Exceptionpublic void stop()
stop in interface org.apache.flink.runtime.jobgraph.tasks.StoppableTaskCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.