Class LifecycleMetrics.Transition

  • Enclosing class:
    LifecycleMetrics<CR extends org.apache.flink.kubernetes.operator.api.AbstractFlinkResource<?,​?>>

    protected static class LifecycleMetrics.Transition
    extends java.lang.Object
    Pojo for encapsulating state transitions and whether we should measure time from the beginning of from or since the last update.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.apache.flink.kubernetes.operator.api.lifecycle.ResourceLifecycleState from  
      boolean measureFromLastUpdate  
      java.lang.String metricName  
      org.apache.flink.kubernetes.operator.api.lifecycle.ResourceLifecycleState to  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Transition()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • from

        public final org.apache.flink.kubernetes.operator.api.lifecycle.ResourceLifecycleState from
      • to

        public final org.apache.flink.kubernetes.operator.api.lifecycle.ResourceLifecycleState to
      • measureFromLastUpdate

        public final boolean measureFromLastUpdate
      • metricName

        public final java.lang.String metricName
    • Constructor Detail

      • Transition

        protected Transition()