NetworkMetrics (Apache Geode 1.6.0)
Date: 2018-04-23

org.apache.geode.management

## Class NetworkMetrics

- java.lang.Object
- - org.apache.geode.management.NetworkMetrics

-     public class NetworkMetrics
      extends java.lang.Object

  Composite data type used to distribute network related metrics for a member.
  Since:
    GemFire 7.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NetworkMetrics()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `float` | `getBytesReceivedRate()` Returns the average number of bytes per second received.
    `float` | `getBytesSentRate()` Returns the average number of bytes per second sent.
    `void` | `setBytesReceivedRate(float bytesReceivedRate)` Sets the average number of bytes per second received.
    `void` | `setBytesSentRate(float bytesSentRate)` Sets the average number of bytes per second sent.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NetworkMetrics

          public NetworkMetrics()

  - ### Method Detail

    - #### getBytesReceivedRate

          public float getBytesReceivedRate()

      Returns the average number of bytes per second received.

    - #### getBytesSentRate

          public float getBytesSentRate()

      Returns the average number of bytes per second sent.

    - #### setBytesReceivedRate

          public void setBytesReceivedRate(float bytesReceivedRate)

      Sets the average number of bytes per second received.

    - #### setBytesSentRate

          public void setBytesSentRate(float bytesSentRate)

      Sets the average number of bytes per second sent.