peternameyakj
2024-07-21 25e1d54f2295934446473fe85cf022fa6140b4e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package project.data;
 
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
 
public class AdjustmentValueCache {
    /**
     * 当前值
     */
    private static volatile Map<String, Double> currentValue = new ConcurrentHashMap();
    /**
     * 延时值
     */
    private static volatile Map<String, AdjustmentValue> delayValue = new ConcurrentHashMap();
 
    public static Map<String, Double> getCurrentValue() {
        return currentValue;
    }
 
    public static Map<String, AdjustmentValue> getDelayValue() {
        return delayValue;
    }
 
}