@Internal public enum ElementOrder extends Enum<ElementOrder>
FIRST_STATE_ORDER from average users.| 枚举常量和说明 |
|---|
FIRST_STATE_ORDER
The
processElement call will be invoked on record arrival, but may be blocked at the
first state accessing if there is a preceding same-key record under processing. |
RECORD_ORDER
Treat the record processing as a whole, meaning that any
processElement call for the
elements with same key should follow the order of record arrival AND no parallel run is
allowed. |
public static final ElementOrder RECORD_ORDER
processElement call for the
elements with same key should follow the order of record arrival AND no parallel run is
allowed.public static final ElementOrder FIRST_STATE_ORDER
processElement call will be invoked on record arrival, but may be blocked at the
first state accessing if there is a preceding same-key record under processing.public static ElementOrder[] values()
for (ElementOrder c : ElementOrder.values()) System.out.println(c);
public static ElementOrder valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.