This project has retired. For details please refer to its Attic page.
Protos.CheckInfo.Builder
JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.apache.mesos

Class Protos.CheckInfo.Builder

  • All Implemented Interfaces:
    Protos.CheckInfoOrBuilder
    Enclosing class:
    Protos.CheckInfo


    public static final class Protos.CheckInfo.Builder
    extends <any>
    implements Protos.CheckInfoOrBuilder 
     Describes a general non-interpreting non-killing check for a task or
     executor (or any arbitrary process/command). A type is picked by
     specifying one of the optional fields. Specifying more than one type
     is an error.
     NOTE: This API is subject to change and the related feature is experimental.
     
    Protobuf type mesos.CheckInfo
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      • setField

        public Protos.CheckInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • setRepeatedField

        public Protos.CheckInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         int index,
         java.lang.Object value)
      • addRepeatedField

        public Protos.CheckInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • isInitialized

        public final boolean isInitialized()
      • mergeFrom

        public Protos.CheckInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • clearCommand

        public Protos.CheckInfo.Builder clearCommand()
         Command check.
         
        optional .mesos.CheckInfo.Command command = 2;
      • hasDelaySeconds

        public boolean hasDelaySeconds()
         Amount of time to wait to start checking the task after it
         transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
         is used by the executor.
         
        optional double delay_seconds = 4 [default = 15];
        Specified by:
        hasDelaySeconds in interface Protos.CheckInfoOrBuilder
      • getDelaySeconds

        public double getDelaySeconds()
         Amount of time to wait to start checking the task after it
         transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
         is used by the executor.
         
        optional double delay_seconds = 4 [default = 15];
        Specified by:
        getDelaySeconds in interface Protos.CheckInfoOrBuilder
      • setDelaySeconds

        public Protos.CheckInfo.Builder setDelaySeconds(double value)
         Amount of time to wait to start checking the task after it
         transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
         is used by the executor.
         
        optional double delay_seconds = 4 [default = 15];
      • clearDelaySeconds

        public Protos.CheckInfo.Builder clearDelaySeconds()
         Amount of time to wait to start checking the task after it
         transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
         is used by the executor.
         
        optional double delay_seconds = 4 [default = 15];
      • hasIntervalSeconds

        public boolean hasIntervalSeconds()
         Interval between check attempts, i.e., amount of time to wait after
         the previous check finished or timed out to start the next check.
         
        optional double interval_seconds = 5 [default = 10];
        Specified by:
        hasIntervalSeconds in interface Protos.CheckInfoOrBuilder
      • getIntervalSeconds

        public double getIntervalSeconds()
         Interval between check attempts, i.e., amount of time to wait after
         the previous check finished or timed out to start the next check.
         
        optional double interval_seconds = 5 [default = 10];
        Specified by:
        getIntervalSeconds in interface Protos.CheckInfoOrBuilder
      • setIntervalSeconds

        public Protos.CheckInfo.Builder setIntervalSeconds(double value)
         Interval between check attempts, i.e., amount of time to wait after
         the previous check finished or timed out to start the next check.
         
        optional double interval_seconds = 5 [default = 10];
      • clearIntervalSeconds

        public Protos.CheckInfo.Builder clearIntervalSeconds()
         Interval between check attempts, i.e., amount of time to wait after
         the previous check finished or timed out to start the next check.
         
        optional double interval_seconds = 5 [default = 10];
      • hasTimeoutSeconds

        public boolean hasTimeoutSeconds()
         Amount of time to wait for the check to complete. Zero means infinite
         timeout.
         After this timeout, the check attempt is aborted and no result is
         reported. Note that this may be considered a state change and hence
         may trigger a check status change delivery to the corresponding
         scheduler. See `CheckStatusInfo` for more details.
         
        optional double timeout_seconds = 6 [default = 20];
        Specified by:
        hasTimeoutSeconds in interface Protos.CheckInfoOrBuilder
      • getTimeoutSeconds

        public double getTimeoutSeconds()
         Amount of time to wait for the check to complete. Zero means infinite
         timeout.
         After this timeout, the check attempt is aborted and no result is
         reported. Note that this may be considered a state change and hence
         may trigger a check status change delivery to the corresponding
         scheduler. See `CheckStatusInfo` for more details.
         
        optional double timeout_seconds = 6 [default = 20];
        Specified by:
        getTimeoutSeconds in interface Protos.CheckInfoOrBuilder
      • setTimeoutSeconds

        public Protos.CheckInfo.Builder setTimeoutSeconds(double value)
         Amount of time to wait for the check to complete. Zero means infinite
         timeout.
         After this timeout, the check attempt is aborted and no result is
         reported. Note that this may be considered a state change and hence
         may trigger a check status change delivery to the corresponding
         scheduler. See `CheckStatusInfo` for more details.
         
        optional double timeout_seconds = 6 [default = 20];
      • clearTimeoutSeconds

        public Protos.CheckInfo.Builder clearTimeoutSeconds()
         Amount of time to wait for the check to complete. Zero means infinite
         timeout.
         After this timeout, the check attempt is aborted and no result is
         reported. Note that this may be considered a state change and hence
         may trigger a check status change delivery to the corresponding
         scheduler. See `CheckStatusInfo` for more details.
         
        optional double timeout_seconds = 6 [default = 20];
      • setUnknownFields

        public final Protos.CheckInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      • mergeUnknownFields

        public final Protos.CheckInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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