|
|
@@ -42,6 +42,13 @@ public class StoreLocalCache {
|
|
|
this.storeProperties = storeProperties;
|
|
|
}
|
|
|
|
|
|
+ public void addObjectChannel(ObjectChannel channel) {
|
|
|
+ String prefix = channel.getPrefix();
|
|
|
+ Integer channelId = channel.getChannelId();
|
|
|
+ prefixMap.put(prefix, channel);
|
|
|
+ channelIdMap.put(channelId, channel);
|
|
|
+ }
|
|
|
+
|
|
|
public String getHost() {
|
|
|
return springProperties.getHost();
|
|
|
}
|