This project has retired. For details please refer to its Attic page.
Protos.OperationState
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Enum Protos.OperationState

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Protos.OperationState>
    Enclosing class:
    Protos


    public static enum Protos.OperationState
    extends java.lang.Enum<Protos.OperationState>
     Describes possible operation states.
     
    Protobuf enum mesos.OperationState
    • Enum Constant Detail

      • OPERATION_UNSUPPORTED

        public static final Protos.OperationState OPERATION_UNSUPPORTED
         Default value if the enum is not set. See MESOS-4997.
         
        OPERATION_UNSUPPORTED = 0;
      • OPERATION_PENDING

        public static final Protos.OperationState OPERATION_PENDING
         Initial state.
         
        OPERATION_PENDING = 1;
      • OPERATION_FINISHED

        public static final Protos.OperationState OPERATION_FINISHED
         TERMINAL: The operation was successfully applied.
         
        OPERATION_FINISHED = 2;
      • OPERATION_FAILED

        public static final Protos.OperationState OPERATION_FAILED
         TERMINAL: The operation failed to apply.
         
        OPERATION_FAILED = 3;
      • OPERATION_ERROR

        public static final Protos.OperationState OPERATION_ERROR
         TERMINAL: The operation description contains an error.
         
        OPERATION_ERROR = 4;
      • OPERATION_DROPPED

        public static final Protos.OperationState OPERATION_DROPPED
         TERMINAL: The operation was dropped due to a transient error.
         
        OPERATION_DROPPED = 5;
      • OPERATION_UNREACHABLE

        public static final Protos.OperationState OPERATION_UNREACHABLE
         The operation affects an agent that has lost contact with the master,
         typically due to a network failure or partition. The operation may or may
         not still be pending.
         
        OPERATION_UNREACHABLE = 6;
      • OPERATION_GONE_BY_OPERATOR

        public static final Protos.OperationState OPERATION_GONE_BY_OPERATOR
         The operation affected an agent that the master cannot contact;
         the operator has asserted that the agent has been shutdown, but this has
         not been directly confirmed by the master.
         If the operator is correct, the operation is not pending and this is a
         terminal state; if the operator is mistaken, the operation may still be
         pending and might return to a different state in the future.
         
        OPERATION_GONE_BY_OPERATOR = 7;
      • OPERATION_RECOVERING

        public static final Protos.OperationState OPERATION_RECOVERING
         The operation affects an agent that the master recovered from its
         state, but that agent has not yet re-registered.
         The operation can transition to `OPERATION_UNREACHABLE` if the
         corresponding agent is marked as unreachable, and will transition to
         another status if the agent re-registers.
         
        OPERATION_RECOVERING = 8;
      • OPERATION_UNKNOWN

        public static final Protos.OperationState OPERATION_UNKNOWN
         The master has no knowledge of the operation. This is typically
         because either (a) the master never had knowledge of the operation, or
         (b) the master forgot about the operation because it garbage collected
         its metadata about the operation. The operation may or may not still be
         pending.
         
        OPERATION_UNKNOWN = 9;
    • Field Detail

      • OPERATION_UNSUPPORTED_VALUE

        public static final int OPERATION_UNSUPPORTED_VALUE
         Default value if the enum is not set. See MESOS-4997.
         
        OPERATION_UNSUPPORTED = 0;
        See Also:
        Constant Field Values
      • OPERATION_PENDING_VALUE

        public static final int OPERATION_PENDING_VALUE
         Initial state.
         
        OPERATION_PENDING = 1;
        See Also:
        Constant Field Values
      • OPERATION_FINISHED_VALUE

        public static final int OPERATION_FINISHED_VALUE
         TERMINAL: The operation was successfully applied.
         
        OPERATION_FINISHED = 2;
        See Also:
        Constant Field Values
      • OPERATION_FAILED_VALUE

        public static final int OPERATION_FAILED_VALUE
         TERMINAL: The operation failed to apply.
         
        OPERATION_FAILED = 3;
        See Also:
        Constant Field Values
      • OPERATION_ERROR_VALUE

        public static final int OPERATION_ERROR_VALUE
         TERMINAL: The operation description contains an error.
         
        OPERATION_ERROR = 4;
        See Also:
        Constant Field Values
      • OPERATION_DROPPED_VALUE

        public static final int OPERATION_DROPPED_VALUE
         TERMINAL: The operation was dropped due to a transient error.
         
        OPERATION_DROPPED = 5;
        See Also:
        Constant Field Values
      • OPERATION_UNREACHABLE_VALUE

        public static final int OPERATION_UNREACHABLE_VALUE
         The operation affects an agent that has lost contact with the master,
         typically due to a network failure or partition. The operation may or may
         not still be pending.
         
        OPERATION_UNREACHABLE = 6;
        See Also:
        Constant Field Values
      • OPERATION_GONE_BY_OPERATOR_VALUE

        public static final int OPERATION_GONE_BY_OPERATOR_VALUE
         The operation affected an agent that the master cannot contact;
         the operator has asserted that the agent has been shutdown, but this has
         not been directly confirmed by the master.
         If the operator is correct, the operation is not pending and this is a
         terminal state; if the operator is mistaken, the operation may still be
         pending and might return to a different state in the future.
         
        OPERATION_GONE_BY_OPERATOR = 7;
        See Also:
        Constant Field Values
      • OPERATION_RECOVERING_VALUE

        public static final int OPERATION_RECOVERING_VALUE
         The operation affects an agent that the master recovered from its
         state, but that agent has not yet re-registered.
         The operation can transition to `OPERATION_UNREACHABLE` if the
         corresponding agent is marked as unreachable, and will transition to
         another status if the agent re-registers.
         
        OPERATION_RECOVERING = 8;
        See Also:
        Constant Field Values
      • OPERATION_UNKNOWN_VALUE

        public static final int OPERATION_UNKNOWN_VALUE
         The master has no knowledge of the operation. This is typically
         because either (a) the master never had knowledge of the operation, or
         (b) the master forgot about the operation because it garbage collected
         its metadata about the operation. The operation may or may not still be
         pending.
         
        OPERATION_UNKNOWN = 9;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Protos.OperationState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Protos.OperationState c : Protos.OperationState.values())
         System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Protos.OperationState valueOf(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
      • internalGetValueMap

        public static <any> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Protos.OperationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /