@Internal public enum DataInputStatus extends Enum<DataInputStatus>
InputStatus
that provides
additional non public statuses.
An InputStatus
indicates the availability of data from an asynchronous input. When
asking an asynchronous input to produce data, it returns this status to indicate how to proceed.
Enum Constant and Description |
---|
END_OF_DATA
Indicator that the input has reached the end of data.
|
END_OF_INPUT
Indicator that the input has reached the end of data and control events.
|
END_OF_RECOVERY
Indicator that all persisted data of the data exchange has been successfully restored.
|
MORE_AVAILABLE
Indicator that more data is available and the input can be called immediately again to
produce more data.
|
NOTHING_AVAILABLE
Indicator that no data is currently available, but more data will be available in the future
again.
|
STOPPED
Indicator that the input was stopped because of stop-with-savepoint without drain.
|
Modifier and Type | Method and Description |
---|---|
static DataInputStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataInputStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataInputStatus MORE_AVAILABLE
public static final DataInputStatus NOTHING_AVAILABLE
public static final DataInputStatus END_OF_RECOVERY
public static final DataInputStatus STOPPED
public static final DataInputStatus END_OF_DATA
public static final DataInputStatus END_OF_INPUT
public static DataInputStatus[] values()
for (DataInputStatus c : DataInputStatus.values()) System.out.println(c);
public static DataInputStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.