类 Probe


  • public class Probe
    extends Object
    The probe of container
    • 构造器详细资料

      • Probe

        public Probe()
        The constructor of Probe
      • Probe

        public Probe​(ExecAction exec,
                     HTTPGetAction httpGet,
                     TCPSocketAction tcpSocket,
                     GRPCAction grpc,
                     int initialDelaySeconds,
                     int timeoutSeconds,
                     int periodSeconds,
                     int successThreshold,
                     int failureThreshold,
                     long terminationGracePeriodSeconds)
        The constructor of Probe
        参数:
        exec - The exec action of probe
        httpGet - The http get action of probe
        tcpSocket - The tcp socket action of probe
        grpc - The grpc action of probe
        initialDelaySeconds - The initial delay seconds of probe
        timeoutSeconds - The timeout seconds of probe
        periodSeconds - The period seconds of probe
        successThreshold - The success threshold of probe
        failureThreshold - The failure threshold of probe
        terminationGracePeriodSeconds - The termination grace period seconds of probe
    • 方法详细资料

      • getInitialDelaySeconds

        public int getInitialDelaySeconds()
      • setInitialDelaySeconds

        public Probe setInitialDelaySeconds​(int initialDelaySeconds)
      • getTimeoutSeconds

        public int getTimeoutSeconds()
      • setTimeoutSeconds

        public Probe setTimeoutSeconds​(int timeoutSeconds)
      • getPeriodSeconds

        public int getPeriodSeconds()
      • setPeriodSeconds

        public Probe setPeriodSeconds​(int periodSeconds)
      • getSuccessThreshold

        public int getSuccessThreshold()
      • setSuccessThreshold

        public Probe setSuccessThreshold​(int successThreshold)
      • getFailureThreshold

        public int getFailureThreshold()
      • setFailureThreshold

        public Probe setFailureThreshold​(int failureThreshold)
      • getTerminationGracePeriodSeconds

        public long getTerminationGracePeriodSeconds()
      • setTerminationGracePeriodSeconds

        public Probe setTerminationGracePeriodSeconds​(long terminationGracePeriodSeconds)