|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.memleak.mlp.NotificationService<K>
K
- the key on which tokens can be addedpublic class NotificationService<K>
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.jrockit.memleak.INotificationService |
---|
INotificationService.IListener |
Constructor Summary | |
---|---|
NotificationService(java.util.concurrent.BlockingQueue<K> queue)
|
Method Summary | |
---|---|
void |
addListener(INotificationService.IListener listener)
|
void |
addToken(K key,
java.lang.Object token)
|
protected void |
fireChanges(java.util.Set<java.lang.Object> tokenSet)
|
void |
removeListener(INotificationService.IListener listener)
|
void |
shutdown()
Shutdowns the notification service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationService(java.util.concurrent.BlockingQueue<K> queue)
queue
- Method Detail |
---|
public void addListener(INotificationService.IListener listener)
addListener
in interface INotificationService
public void removeListener(INotificationService.IListener listener)
removeListener
in interface INotificationService
protected void fireChanges(java.util.Set<java.lang.Object> tokenSet)
tokenSet
- public void addToken(K key, java.lang.Object token)
key
- token
- public void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |