public abstract class GroupHandlingAbstract extends Object implements GroupingHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.activemq.artemis.api.core.SimpleString |
address |
protected Executor |
executor |
protected ManagementService |
managementService |
| Constructor and Description |
|---|
GroupHandlingAbstract(Executor executor,
ManagementService managementService,
org.apache.activemq.artemis.api.core.SimpleString address) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(UnproposalListener listener) |
protected void |
fireUnproposed(org.apache.activemq.artemis.api.core.SimpleString groupID) |
void |
forceRemove(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName)
this will force a removal of the group everywhere with an unproposal (dinstance=0).
|
protected void |
sendUnproposal(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName,
int distance) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddGroupBinding, awaitBindings, getName, getProposal, propose, proposed, receive, remove, remove, resendPending, sendProposalResponseprotected final Executor executor
protected final ManagementService managementService
protected final org.apache.activemq.artemis.api.core.SimpleString address
public GroupHandlingAbstract(Executor executor, ManagementService managementService, org.apache.activemq.artemis.api.core.SimpleString address)
public void addListener(UnproposalListener listener)
addListener in interface GroupingHandlerprotected void fireUnproposed(org.apache.activemq.artemis.api.core.SimpleString groupID)
public void forceRemove(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName)
throws Exception
GroupingHandlerforceRemove in interface GroupingHandlerExceptionprotected void sendUnproposal(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName,
int distance)
Copyright © 2023 The Apache Software Foundation. All rights reserved.