MCPcopy Create free account
hub / github.com/e2wugui/zeze / MQManager

Method MQManager

ZezeJava/ZezeJava/src/main/java/Zeze/MQ/MQManager.java:41–50  ·  view source on GitHub ↗
(String home, String configXml)

Source from the content-addressed store, hash-verified

39 private final ConcurrentHashMap<String, MQPartition> queues = new ConcurrentHashMap<>();
40
41 public MQManager(String home, String configXml) throws RocksDBException {
42 this.home = home;
43 this.rocksDatabase = new RocksDatabase(this.home);
44 var config = Config.load(configXml);
45 config.parseCustomize(this.mqConfig);
46 proxyServer = new ProxyServer(config, mqConfig.getRpcTimeout());
47 masterService = new Service(config, proxyServer);
48 masterAgent = new MasterAgent(config, masterService, this::createPartition);
49 RegisterProtocols(proxyServer);
50 }
51
52 public String getHome() {
53 return home;

Callers

nothing calls this directly

Calls 4

loadMethod · 0.95
parseCustomizeMethod · 0.80
getRpcTimeoutMethod · 0.45
RegisterProtocolsMethod · 0.45

Tested by

no test coverage detected