CacheMapUtil.java 568 Bytes
package com.genersoft.iot.vmp.jt1078.app;

import io.netty.channel.Channel;

import java.util.HashMap;
import java.util.Map;

public class CacheMapUtil {
    public Map<Integer, VideoServerApp.VideoServer> videoServerMap = new HashMap();
    public Map<Integer, Channel> portChannel = new HashMap();

    private static CacheMapUtil cacheMapUtil;

    public static CacheMapUtil getCacheMapUtil() {
        if (null == cacheMapUtil) {
            cacheMapUtil = new CacheMapUtil();
        }
        return cacheMapUtil;
    }

    private CacheMapUtil() {

    }


}