public class Notifier extends Object
| Constructor and Description |
|---|
Notifier() |
Notifier(String name) |
Notifier(String name,
int minThreads,
int maxThreads,
int timeoutMs,
int taskQueueSize) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
listen(String topic,
Notifiable<T> l) |
void |
remove(Comparable c) |
void |
removeAllListeners() |
void |
send(String topic,
Object arg) |
void |
setName(String name) |
void |
shutdown() |
public Notifier()
public Notifier(String name)
public Notifier(String name, int minThreads, int maxThreads, int timeoutMs, int taskQueueSize)
public void setName(String name)
public <T> void listen(String topic, Notifiable<T> l)
public void remove(Comparable c)
public void removeAllListeners()
public void shutdown()
Copyright © 2017. All rights reserved.