public interface GroupingHandler extends NotificationListener, ActiveMQComponent
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupBinding(GroupBinding groupBinding) |
void |
addListener(UnproposalListener listener) |
void |
awaitBindings() |
void |
forceRemove(SimpleString groupid,
SimpleString clusterName)
this will force a removal of the group everywhere with an unproposal (dinstance=0).
|
SimpleString |
getName() |
Response |
getProposal(SimpleString fullID,
boolean touchTime) |
Response |
propose(Proposal proposal) |
void |
proposed(Response response) |
Response |
receive(Proposal proposal,
int distance) |
void |
remove(SimpleString groupid,
SimpleString clusterName) |
void |
remove(SimpleString groupid,
SimpleString clusterName,
int distance) |
void |
resendPending() |
void |
sendProposalResponse(Response response,
int distance) |
onNotificationisStarted, start, stopvoid addListener(UnproposalListener listener)
SimpleString getName()
void sendProposalResponse(Response response, int distance) throws Exception
Exceptionvoid addGroupBinding(GroupBinding groupBinding)
Response getProposal(SimpleString fullID, boolean touchTime)
void forceRemove(SimpleString groupid, SimpleString clusterName) throws Exception
Exceptionvoid remove(SimpleString groupid, SimpleString clusterName) throws Exception
Exceptionvoid remove(SimpleString groupid, SimpleString clusterName, int distance) throws Exception
ExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.