[
https://issues.apache.org/jira/browse/ARTEMIS-3243?focusedWorklogId=617679&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617679
]
ASF GitHub Bot logged work on ARTEMIS-3243:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 01/Jul/21 16:04
Start Date: 01/Jul/21 16:04
Worklog Time Spent: 10m
Work Description: gemmellr commented on a change in pull request #3633:
URL: https://github.com/apache/activemq-artemis/pull/3633#discussion_r662336248
##########
File path:
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/collections/IDSupplier.java
##########
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.artemis.utils.collections;
+
+import io.netty.util.collection.LongObjectHashMap;
+
+/** This interface is meant to encapsulate a HashMap(ListID,
LongObjectHashMap(ElementType)) .
+ * (notice I am using parenthesis instead of < and > to make it easier
to read on the source code)
+ *
+ * ListID should be translated as ServerID when in use by ActiveMQ Artemis.
the ListID will probably be a server UUID.
+ *
+ * The implementation should always provide the same instance of a list for a
ListID. */
+public interface IDSupplier<E> {
+ LongObjectHashMap<LinkedListImpl.Node<E>> getList(Object ListID);
Review comment:
Perhaps getMap? getNodes? (getList feels off somehow since it doesnt
return a list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 617679)
Time Spent: 8h 40m (was: 8.5h)
> Enhance AMQP Mirror support with dual mirror
> --------------------------------------------
>
> Key: ARTEMIS-3243
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3243
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.17.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.18.0
>
> Time Spent: 8h 40m
> Remaining Estimate: 0h
>
> at the current Mirror version, we can only mirror into a single direction.
> With this enhancement the two (or more brokers) would be connected to each
> other, each one having its own ID, and each one would send updates to the
> other broker.
> The outcome is that if you just transferred producers and consumers from one
> broker into the other, the fallback would be automatic and simple. No need to
> disable and enable mirror options.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)