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

Class Protos.CheckInfo

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


    public static final class Protos.CheckInfo
    extends com.google.protobuf.GeneratedMessageV3
    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
    • Field Detail

      • DELAY_SECONDS_FIELD_NUMBER

        public static final int DELAY_SECONDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INTERVAL_SECONDS_FIELD_NUMBER

        public static final int INTERVAL_SECONDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TIMEOUT_SECONDS_FIELD_NUMBER

        public static final int TIMEOUT_SECONDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARSER

        @Deprecated
        public static final <any> PARSER
        Deprecated.
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      • 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
      • 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
      • 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
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
      • equals

        public boolean equals(java.lang.Object obj)
      • hashCode

        public int hashCode()
      • parseFrom

        public static Protos.CheckInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CheckInfo parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CheckInfo parseFrom(com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CheckInfo parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CheckInfo parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CheckInfo parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.CheckInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.CheckInfo parseDelimitedFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.CheckInfo parseFrom(com.google.protobuf.CodedInputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.CheckInfo parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        protected Protos.CheckInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      • parser

        public static <any> parser()
      • getParserForType

        public <any> getParserForType()
Skip navigation links

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