public static class SamzaImpulseSystemFactory.SamzaImpulseSystemConsumer
extends java.lang.Object
implements org.apache.samza.system.SystemConsumer
| Constructor and Description |
|---|
SamzaImpulseSystemConsumer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.apache.samza.system.SystemStreamPartition,java.util.List<org.apache.samza.system.IncomingMessageEnvelope>> |
poll(java.util.Set<org.apache.samza.system.SystemStreamPartition> ssps,
long timeout) |
void |
register(org.apache.samza.system.SystemStreamPartition ssp,
java.lang.String offset) |
void |
start() |
void |
stop() |
public void start()
start in interface org.apache.samza.system.SystemConsumerpublic void stop()
stop in interface org.apache.samza.system.SystemConsumerpublic void register(org.apache.samza.system.SystemStreamPartition ssp,
java.lang.String offset)
register in interface org.apache.samza.system.SystemConsumerpublic java.util.Map<org.apache.samza.system.SystemStreamPartition,java.util.List<org.apache.samza.system.IncomingMessageEnvelope>> poll(java.util.Set<org.apache.samza.system.SystemStreamPartition> ssps,
long timeout)
throws java.lang.InterruptedException
poll in interface org.apache.samza.system.SystemConsumerjava.lang.InterruptedException