com.redismq.rpc.cache.RpcGlobalCache Maven / Gradle / Ivy
package com.redismq.rpc.cache;
import com.redismq.common.pojo.MessageFuture;
import com.redismq.common.pojo.RemoteMessageFuture;
import java.util.concurrent.ConcurrentHashMap;
/**
* rpc全局缓存
*
* @author hzh
* @date 2024/05/06
*/
public class RpcGlobalCache {
public static final ConcurrentHashMap FUTURES = new ConcurrentHashMap<>();
public static final ConcurrentHashMap REMOTE_FUTURES = new ConcurrentHashMap<>();
}