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

Interface Protos.Value.ScalarOrBuilder

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      double getValue ()
      Scalar values are represented using floating point.
      boolean hasValue ()
      Scalar values are represented using floating point.
    • Method Detail

      • hasValue

        boolean hasValue()
         Scalar values are represented using floating point. To reduce
         the chance of unpredictable floating point behavior due to
         roundoff error, Mesos only supports three decimal digits of
         precision for scalar resource values. That is, floating point
         values are converted to a fixed point format that supports
         three decimal digits of precision, and then converted back to
         floating point on output. Any additional precision in scalar
         resource values is discarded (via rounding).
         
        required double value = 1;
      • getValue

        double getValue()
         Scalar values are represented using floating point. To reduce
         the chance of unpredictable floating point behavior due to
         roundoff error, Mesos only supports three decimal digits of
         precision for scalar resource values. That is, floating point
         values are converted to a fixed point format that supports
         three decimal digits of precision, and then converted back to
         floating point on output. Any additional precision in scalar
         resource values is discarded (via rounding).
         
        required double value = 1;
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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