io.github.rmuhamedgaliev.service.RAM.RAMInformation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SystemInformation Show documentation
Show all versions of SystemInformation Show documentation
Library for getting information about local computer implemented on java. Used 2 Linux commands, other implemented on Java.
package io.github.rmuhamedgaliev.service.RAM;
/**
* Developer: Muhamedgaliev Rinat
*/
public interface RAMInformation
{
/**
* Return total RAM size by defined measured. Use follow signatures:
* GiB - in gigabyte
* MiB - in megabyte
* KiB - in kilobyte
* @param measure
* @return value RAM
*/
Long getTotalRAM(String measure);
/**
* Return free RAM size by defined measured. Use follow signatures:
* GiB - in gigabyte
* MiB - in megabyte
* KiB - in kilobyte
* @param measure
* @return value RAM
*/
Long getFreeRAM(String measure);
/**
* Return used RAM size by defined measured. Use follow signatures:
* GiB - in gigabyte
* MiB - in megabyte
* KiB - in kilobyte
* @param measure
* @return value RAM
*/
Long getUsedRAM(String measure);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy