public class RandomStringBlobMessageProducerFactory extends Object implements ProducerFactory<BlobMessage>
Modifier and Type | Field and Description |
---|---|
protected int |
averageSizeKB |
protected String |
lang |
protected String |
marker |
protected long |
nbBlobs |
Constructor and Description |
---|
RandomStringBlobMessageProducerFactory(long nbBlobs,
String lang,
int averageSizeKB,
String marker)
Produce messages with a random blob content
|
Modifier and Type | Method and Description |
---|---|
ProducerIterator<BlobMessage> |
createProducer(int producerId) |
protected final long nbBlobs
protected final int averageSizeKB
public RandomStringBlobMessageProducerFactory(long nbBlobs, String lang, int averageSizeKB, String marker)
public ProducerIterator<BlobMessage> createProducer(int producerId)
createProducer
in interface ProducerFactory<BlobMessage>
producerId
- the producer indexCopyright © 2018 Nuxeo. All rights reserved.