Class DeviceSystemStats


  • public class DeviceSystemStats
    extends java.lang.Object
    A representation of system stats of device.
    • Constructor Detail

      • DeviceSystemStats

        public DeviceSystemStats​(DeviceMemoryStats memoryStats,
                                 DeviceCpuStats cpuStats)
        Creates deviceSystemStats object.
        Parameters:
        memoryStats - memory statisics of the device
        cpuStats - cpu statistics of the device
    • Method Detail

      • getMemory

        public DeviceMemoryStats getMemory()
        Get memory usage statistics.
        Returns:
        deviceMemoryStats, device memory usage stats in KB
      • getCpu

        public DeviceCpuStats getCpu()
        Get cpu usage statistics.
        Returns:
        deviceCpuStats, device cpu usage stats
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object