@Internal public enum StopMode extends Enum<StopMode>
DRAIN means the job is
stopping either with a stop-with-savepoint --drain or due to consuming all records in the source.
A drained pipeline should call StreamOperator#finish() on all operators.public static StopMode[] values()
for (StopMode c : StopMode.values()) System.out.println(c);
public static StopMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.