public class NotificationBusDemo extends Object implements NotificationBus.Consumer
| Constructor and Description |
|---|
NotificationBusDemo() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getCache()
Called on the coordinator to obtains its cache
|
void |
handleNotification(Serializable n) |
static void |
main(String[] args) |
void |
memberJoined(Address mbr) |
void |
memberLeft(Address mbr) |
void |
start(String bus_name,
String props) |
public void handleNotification(Serializable n)
handleNotification in interface NotificationBus.Consumerpublic Serializable getCache()
NotificationBus.ConsumergetCache in interface NotificationBus.Consumerpublic void memberJoined(Address mbr)
memberJoined in interface NotificationBus.Consumerpublic void memberLeft(Address mbr)
memberLeft in interface NotificationBus.Consumerpublic static void main(String[] args)
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.