Enum DataInputStatus
- All Implemented Interfaces:
Serializable,Comparable<DataInputStatus>
It is an internal equivalent of
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 Summary
Enum ConstantsEnum ConstantDescriptionIndicator that the input has reached the end of data.Indicator that the input has reached the end of data and control events.Indicator that all persisted data of the data exchange has been successfully restored.Indicator that more data is available and the input can be called immediately again to produce more data.Indicator that no data is currently available, but more data will be available in the future again.Indicator that the input was stopped because of stop-with-savepoint without drain. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataInputStatusReturns 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.
-
Enum Constant Details
-
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. -
END_OF_RECOVERY
Indicator that all persisted data of the data exchange has been successfully restored. -
STOPPED
Indicator that the input was stopped because of stop-with-savepoint without drain. -
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. The input is about to close.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-