V - The type of objects produced.public interface IProducer<V>
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(org.symphonyoss.s2.fugue.pipeline.IConsumer<V> listener)
Add a listener which will be notified for each new object created.
|
boolean |
removeListener(org.symphonyoss.s2.fugue.pipeline.IConsumer<V> listener)
Remove the give listener.
|
void addListener(org.symphonyoss.s2.fugue.pipeline.IConsumer<V> listener)
listener - A listener for new objects.boolean removeListener(org.symphonyoss.s2.fugue.pipeline.IConsumer<V> listener)
listener - A listener for new objects.Copyright © 2018 Symphony Software Foundation. All rights reserved.