Package org.apache.hadoop.fs.s3a.impl
Enum Class ProgressListenerEvent
- All Implemented Interfaces:
Serializable,Comparable<ProgressListenerEvent>,Constable
Enum for progress listener events.
Some are used in the
S3ABlockOutputStream
class to manage progress; others are to assist
testing.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStream has been closed.PUT operation completed successfully.PUT operation was interrupted.PUT operation was interrupted.A PUT operation was started.Bytes were transferred.A multipart upload was aborted.A multipart upload was successfully.A multipart upload was initiated.An upload of a part of a multipart upload was abported.An upload of a part of a multipart upload was completed.An upload of a part of a multipart upload failed.An upload of a part of a multipart upload was started.An upload of a part of a multipart upload was completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressListenerEventReturns the enum constant of this class with the specified name.static ProgressListenerEvent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOSE_EVENT
Stream has been closed. -
PUT_COMPLETED_EVENT
PUT operation completed successfully. -
PUT_INTERRUPTED_EVENT
PUT operation was interrupted. -
PUT_FAILED_EVENT
PUT operation was interrupted. -
PUT_STARTED_EVENT
A PUT operation was started. -
REQUEST_BYTE_TRANSFER_EVENT
Bytes were transferred. -
TRANSFER_MULTIPART_INITIATED_EVENT
A multipart upload was initiated. -
TRANSFER_MULTIPART_ABORTED_EVENT
A multipart upload was aborted. -
TRANSFER_MULTIPART_COMPLETED_EVENT
A multipart upload was successfully. -
TRANSFER_PART_STARTED_EVENT
An upload of a part of a multipart upload was started. -
TRANSFER_PART_COMPLETED_EVENT
An upload of a part of a multipart upload was completed. This does not indicate the upload was successful. -
TRANSFER_PART_SUCCESS_EVENT
An upload of a part of a multipart upload was completed successfully. -
TRANSFER_PART_ABORTED_EVENT
An upload of a part of a multipart upload was abported. -
TRANSFER_PART_FAILED_EVENT
An upload of a part of a multipart upload failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-