1
zyy
8 days ago cde6bf659b0d88a7d4e9d28fb13e86a4a8f5b481
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.yami.trading.huobi.data;
 
import com.yami.trading.huobi.data.model.AdjustmentValue;
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;
    }
 
}