package com.agileboot.system.monitor.service.impl;

import com.agileboot.system.monitor.service.ISysMonitorService;
import com.agileboot.system.monitor.vo.OnlineUserVO;
import com.agileboot.system.monitor.vo.RedisCacheInfoVO;
import com.agileboot.system.monitor.vo.ServerInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysMonitorServiceImpl implements ISysMonitorService {

    @Override
    public RedisCacheInfoVO getRedisCacheInfo() {
        return null;
    }

    @Override
    public ServerInfo getServerInfo() {
        return ServerInfo.fillInfo();
    }

    @Override
    public List<OnlineUserVO> getOnlineUserList(String username, String ipAddress) {
        return List.of();
    }
}
