package com.gyee.dataadapter.cache; import com.gyee.dataadapter.entity.PointData; import com.gyee.dataadapter.entity.PointInfo; import org.springframework.stereotype.Component; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; @Component public class MqttCache { public static Map subData = new HashMap<>(); public static Map subData2 = new ConcurrentHashMap<>(); }