public class WALgroupListener extends Object implements GroupListener
| Constructor and Description |
|---|
WALgroupListener(int priority,
com.netflix.astyanax.Keyspace keyspace)
Get the priority
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
This is the callback to get the priority of the instance in the group.
|
void |
processGroupMsg(GroupEvent event,
String instanceId)
This is the callback to be implemented by the applications to process the
groups status change notifications.
|
public WALgroupListener(int priority,
com.netflix.astyanax.Keyspace keyspace)
priority - keyspace - public void processGroupMsg(GroupEvent event, String instanceId)
GroupListenerprocessGroupMsg in interface GroupListenerevent - - group event typeinstanceId - - instance id of the group memberpublic int getPriority()
GroupListenergetPriority in interface GroupListenerCopyright © 2014. All Rights Reserved.