public abstract class AbstractPollingNotifier<T extends Notification> extends AbstractNotifier<T>
executor, notifySystem
Modifier and Type | Method and Description |
---|---|
void |
unregisterAllListeners()
Remove all listeners for a given type.
|
void |
unregisterListener(Listener<T> listener)
Remove a listener.
|
registerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public void unregisterListener(Listener<T> listener)
Observable
unregisterListener
in interface Observable<T extends Notification>
unregisterListener
in class AbstractNotifier<T extends Notification>
listener
- the listener which needs to be removed.public void unregisterAllListeners()
Observable
unregisterAllListeners
in interface Observable<T extends Notification>
unregisterAllListeners
in class AbstractNotifier<T extends Notification>