public enum TimeDomain extends Enum<TimeDomain>
TimeDomain
specifies whether a firing timer is based on event time or processing time.枚举常量和说明 |
---|
EVENT_TIME
Time is based on the timestamp of events.
|
PROCESSING_TIME
Time is based on the current processing-time of a machine where processing happens.
|
public static final TimeDomain EVENT_TIME
public static final TimeDomain PROCESSING_TIME
public static TimeDomain[] values()
for (TimeDomain c : TimeDomain.values()) System.out.println(c);
public static TimeDomain valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.