Package org.symphonyoss.s2.canon.runtime
Class StringEntityConsumer<E extends IEntity,C extends org.symphonyoss.s2.fugue.pipeline.IThreadSafeConsumer<E>>
- java.lang.Object
-
- org.symphonyoss.s2.canon.runtime.EntityConsumer<String,E,C>
-
- org.symphonyoss.s2.canon.runtime.StringEntityConsumer<E,C>
-
- All Implemented Interfaces:
AutoCloseable,org.symphonyoss.s2.fugue.pipeline.IConsumer<String>,org.symphonyoss.s2.fugue.pipeline.IRetryableConsumer<String>,org.symphonyoss.s2.fugue.pipeline.IThreadSafeConsumer<String>,org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<String>
public class StringEntityConsumer<E extends IEntity,C extends org.symphonyoss.s2.fugue.pipeline.IThreadSafeConsumer<E>> extends EntityConsumer<String,E,C>
-
-
Constructor Summary
Constructors Constructor Description StringEntityConsumer(IModelRegistry modelRegistry, Class<E> entityType, C consumer, org.symphonyoss.s2.fugue.pipeline.IThreadSafeErrorConsumer<String> invalidMessageConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ReadergetReader(String item)-
Methods inherited from class org.symphonyoss.s2.canon.runtime.EntityConsumer
close, consume
-
-
-
-
Constructor Detail
-
StringEntityConsumer
public StringEntityConsumer(IModelRegistry modelRegistry, Class<E> entityType, C consumer, org.symphonyoss.s2.fugue.pipeline.IThreadSafeErrorConsumer<String> invalidMessageConsumer)
-
-