org.jboss.messaging.core.cluster
Interface GroupCoordinator
public interface GroupCoordinator
A GroupCoordinator
- Author:
- Tim Fox
join
java.lang.Object join(int id,
StateHandler handler)
throws java.lang.Exception
- Join the cluster with the specified id
- Parameters:
id
-
- Returns:
- The state
- Throws:
java.lang.Exception
leave
void leave(int id)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendToAll
void sendToAll(ClusterMessage request,
boolean sychronous)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMembers
java.util.List<java.lang.Integer> getMembers()
registerHandler
void registerHandler(GroupHandler handler)
unregisterHandler
void unregisterHandler(GroupHandler handler)
Copyright © 2006 JBoss Inc. All Rights Reserved.