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

com.didiglobal.knowframework.system.metrcis.service.macos.MacOSDiskMetricsServiceImpl Maven / Gradle / Ivy

package com.didiglobal.knowframework.system.metrcis.service.macos;

import com.didiglobal.knowframework.system.metrcis.service.DiskMetricsService;

import java.util.HashMap;
import java.util.Map;

public class MacOSDiskMetricsServiceImpl implements DiskMetricsService {

    @Override
    public Map getFsType() {
        Map map = new HashMap<>();
        map.put("/", "ext4");
        return map;
    }

    @Override
    public Map getBytesTotal() {
        Map map = new HashMap<>();
        map.put("/", 1024L);
        return map;
    }

    @Override
    public Map getBytesFree() {
        Map map = new HashMap<>();
        map.put("/", 100 * 1024 * 1024 * 1024L);
        return map;
    }

    @Override
    public Map getBytesUsed() {
        return null;
    }

    @Override
    public Map getBytesUsedPercent() {
        return null;
    }

    @Override
    public Map getInodesTotal() {
        return null;
    }

    @Override
    public Map getInodesFree() {
        return null;
    }

    @Override
    public Map getInodesUsed() {
        return null;
    }

    @Override
    public Map getInodesUsedPercent() {
        return null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy