public abstract class AbstractProducer<M extends Message> extends Object implements ProducerIterator<M>
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
producerId  | 
| Constructor and Description | 
|---|
AbstractProducer(int producerId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
int | 
getProducerId()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPartition, removeforEachRemaining, hasNext, nextprotected final int producerId
public AbstractProducer(int producerId)
public int getProducerId()
public void close() throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 Nuxeo. All rights reserved.