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) |
onNotification
isStarted, start, stop
void addListener(UnproposalListener listener)
SimpleString getName()
void sendProposalResponse(Response response, int distance) throws Exception
Exception
void addGroupBinding(GroupBinding groupBinding)
Response getProposal(SimpleString fullID, boolean touchTime)
void forceRemove(SimpleString groupid, SimpleString clusterName) throws Exception
Exception
void remove(SimpleString groupid, SimpleString clusterName) throws Exception
Exception
void remove(SimpleString groupid, SimpleString clusterName, int distance) throws Exception
Exception
Copyright © 2018 JBoss by Red Hat. All rights reserved.