@PublicEvolving public enum FileProcessingMode extends Enum<FileProcessingMode>
ContinuousFileMonitoringFunction operates. This can be either
PROCESS_ONCE or PROCESS_CONTINUOUSLY.| 枚举常量和说明 |
|---|
PROCESS_CONTINUOUSLY
Periodically scans the path for new data.
|
PROCESS_ONCE
Processes the current contents of the path and exits.
|
public static final FileProcessingMode PROCESS_ONCE
public static final FileProcessingMode PROCESS_CONTINUOUSLY
public static FileProcessingMode[] values()
for (FileProcessingMode c : FileProcessingMode.values()) System.out.println(c);
public static FileProcessingMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.