1234567891011121314151617 |
- 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<String, PointInfo> subData = new HashMap<>();
- public static Map<String, PointData> subData2 = new ConcurrentHashMap<>();
- }
|