package com.njcn.gather.systemmonitor.disk.service;

import com.njcn.gather.systemmonitor.disk.pojo.param.DiskMonitorParam;
import com.njcn.gather.systemmonitor.disk.pojo.po.DiskMonitorPolicy;
import com.njcn.gather.systemmonitor.disk.pojo.po.DiskMonitorTarget;
import com.njcn.gather.systemmonitor.disk.pojo.vo.DiskMonitorVO;

import java.util.List;

/**
 * 磁盘监控配置服务。
 */
public interface IDiskMonitorPolicyService {

    DiskMonitorVO.PolicyDetailVO getPolicyDetail();

    boolean savePolicy(DiskMonitorParam.PolicySaveParam param);

    DiskMonitorPolicy getCurrentPolicy();

    DiskMonitorPolicy getOrCreatePolicy();

    List<DiskMonitorTarget> listEnabledTargets();

    DiskMonitorTarget getTargetByDriveLetter(String driveLetter);
}
