Package org.symphonyoss.s2.canon.runtime
Interface IProducerImpl<V>
-
- Type Parameters:
V- The type of objects produced.
- All Superinterfaces:
IProducer<V>
- All Known Implementing Classes:
AsynchronousProducer,Monitor,SynchronousProducer
public interface IProducerImpl<V> extends IProducer<V>
The implementation side of a producer which has the additional method to notify listeners of the production of an item.- Author:
- Bruce Skingle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidproduce(V item, org.symphonyoss.s2.fugue.core.trace.ITraceContext trace)Notify all registered listeners that the given item has been produced.-
Methods inherited from interface org.symphonyoss.s2.canon.runtime.IProducer
addListener, removeListener
-
-
-
-
Method Detail
-
produce
void produce(V item, org.symphonyoss.s2.fugue.core.trace.ITraceContext trace)
Notify all registered listeners that the given item has been produced.- Parameters:
item- An item which has been produced.trace- A trace context.
-
-