All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.rmuhamedgaliev.service.RAM.RAMInformation Maven / Gradle / Ivy

Go to download

Library for getting information about local computer implemented on java. Used 2 Linux commands, other implemented on Java.

There is a newer version: 0.0.0.4
Show newest version
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