package cn.reghao.bnt.common.msg.event;

import cn.reghao.jutil.jdk.event.message.Event;
import cn.reghao.jutil.jdk.machine.data.detail.DiskDetail;
import cn.reghao.jutil.jdk.machine.data.detail.MemoryDetail;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author reghao
 * @date 2022-05-05 13:59:15
 */
@Getter
@Setter
public class EvtAgentHeartbeat extends Event {
    private String machineId;
    private MemoryDetail memoryDetail;
    private List<DiskDetail> diskDetails;
    private Long timestamp;

    public EvtAgentHeartbeat() {
        this.timestamp = System.currentTimeMillis();
    }
}
