Class MirroringStatistics


  • public final class MirroringStatistics
    extends Object
    Represents statistics associated to a mirroring.
    • Method Detail

      • mirroringStatistics

        public static MirroringStatistics mirroringStatistics​(String name,
                                                              Map<String,​Integer> statistics)
        Creates a MirroringStatistics using the supplied information.
        Parameters:
        name - the name of the mirroring
        statistics - the associated statistics
        Returns:
        the MirroringStatistics object
      • name

        public MirroringName name()
        Returns the mirroring name string.
        Returns:
        name string
      • bytes

        public long bytes()
        Returns the transmitted bytes.
        Returns:
        the bytes
      • packets

        public long packets()
        Returns the transmitted packtes.
        Returns:
        the packets
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object