Enum Class BlobTransferUtils.BlobTransferStatus
java.lang.Object
java.lang.Enum<BlobTransferUtils.BlobTransferStatus>
com.linkedin.davinci.blobtransfer.BlobTransferUtils.BlobTransferStatus
- All Implemented Interfaces:
Serializable,Comparable<BlobTransferUtils.BlobTransferStatus>,Constable
- Enclosing class:
- BlobTransferUtils
public static enum BlobTransferUtils.BlobTransferStatus
extends Enum<BlobTransferUtils.BlobTransferStatus>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCancellation has been requested.Transfer was successfully cancelled.Transfer completed successfully without cancellation.Transfer is not started yet.Transfer has been initiated and is in progress. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BlobTransferUtils.BlobTransferStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRANSFER_NOT_STARTED
Transfer is not started yet. -
TRANSFER_STARTED
Transfer has been initiated and is in progress. This is the initial state when blob transfer starts. -
TRANSFER_CANCEL_REQUESTED
Cancellation has been requested. - Cancellation flag set - Active channel closed - Waiting for transfer future to complete with cancellation exception -
TRANSFER_CANCELLED
Transfer was successfully cancelled. - Transfer future completed with VeniceBlobTransferCancelledException - Cancellation is confirmed complete -
TRANSFER_COMPLETED
Transfer completed successfully without cancellation. - Transfer future completed normally - No cancellation was requested
-
-
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
-