public final class LocalGroupingHandler extends GroupHandlingAbstract
address, executor, managementService| Constructor and Description |
|---|
LocalGroupingHandler(org.apache.activemq.artemis.utils.ExecutorFactory executorFactory,
ScheduledExecutorService scheduledExecutor,
ManagementService managementService,
org.apache.activemq.artemis.api.core.SimpleString name,
org.apache.activemq.artemis.api.core.SimpleString address,
StorageManager storageManager,
long timeout,
long groupTimeout,
long reaperPeriod) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupBinding(GroupBinding groupBinding) |
void |
awaitBindings() |
org.apache.activemq.artemis.api.core.SimpleString |
getName() |
Response |
getProposal(org.apache.activemq.artemis.api.core.SimpleString fullID,
boolean touchTime) |
boolean |
isStarted() |
void |
onNotification(org.apache.activemq.artemis.core.server.management.Notification notification) |
Response |
propose(Proposal proposal) |
void |
proposed(Response response) |
Response |
receive(Proposal proposal,
int distance) |
void |
remove(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName) |
void |
remove(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName,
int distance) |
void |
resendPending() |
void |
sendProposalResponse(Response response,
int distance) |
void |
start() |
void |
stop() |
addListener, fireUnproposed, forceRemove, sendUnproposalpublic LocalGroupingHandler(org.apache.activemq.artemis.utils.ExecutorFactory executorFactory,
ScheduledExecutorService scheduledExecutor,
ManagementService managementService,
org.apache.activemq.artemis.api.core.SimpleString name,
org.apache.activemq.artemis.api.core.SimpleString address,
StorageManager storageManager,
long timeout,
long groupTimeout,
long reaperPeriod)
public org.apache.activemq.artemis.api.core.SimpleString getName()
public void remove(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName,
int distance)
throws Exception
Exceptionpublic void sendProposalResponse(Response response, int distance) throws Exception
Exceptionpublic void addGroupBinding(GroupBinding groupBinding)
public Response getProposal(org.apache.activemq.artemis.api.core.SimpleString fullID, boolean touchTime)
public void remove(org.apache.activemq.artemis.api.core.SimpleString groupid,
org.apache.activemq.artemis.api.core.SimpleString clusterName)
public void onNotification(org.apache.activemq.artemis.core.server.management.Notification notification)
public boolean isStarted()
Copyright © 2023 The Apache Software Foundation. All rights reserved.