Class TrafficFlow

    • Constructor Detail

      • TrafficFlow

        public TrafficFlow()
      • TrafficFlow

        public TrafficFlow​(TrafficFlow source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getValue

        public Long getValue()
        Get 实际流量,单位为 字节
        Returns:
        Value 实际流量,单位为 字节
      • setValue

        public void setValue​(Long Value)
        Set 实际流量,单位为 字节
        Parameters:
        Value - 实际流量,单位为 字节
      • getFormatValue

        public Float getFormatValue()
        Get 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FormatValue 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。
      • setFormatValue

        public void setFormatValue​(Float FormatValue)
        Set 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FormatValue - 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。
      • getFormatUnit

        public String getFormatUnit()
        Get 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FormatUnit 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。
      • setFormatUnit

        public void setFormatUnit​(String FormatUnit)
        Set 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FormatUnit - 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。