public class RandomDocumentProducers extends Object implements RebalanceListener
Modifier and Type | Field and Description |
---|---|
protected Integer |
avgBlobSizeKB |
protected OperationContext |
ctx |
static String |
DEFAULT_DOC_LOG_NAME |
static String |
ID |
protected String |
lang |
protected String |
logBlobInfoName |
protected String |
logConfig |
protected String |
logName |
protected Integer |
logSize |
protected Integer |
nbDocuments |
protected Integer |
nbThreads |
Constructor and Description |
---|
RandomDocumentProducers() |
Modifier and Type | Method and Description |
---|---|
protected String |
getLogConfig() |
protected String |
getLogName() |
protected int |
getLogSize() |
void |
onPartitionsAssigned(Collection<LogPartition> partitions) |
void |
onPartitionsRevoked(Collection<LogPartition> partitions) |
void |
run() |
public static final String ID
public static final String DEFAULT_DOC_LOG_NAME
protected OperationContext ctx
protected Integer nbDocuments
protected Integer avgBlobSizeKB
protected String logBlobInfoName
public RandomDocumentProducers()
public void run()
protected String getLogConfig()
protected String getLogName()
protected int getLogSize()
public void onPartitionsRevoked(Collection<LogPartition> partitions)
onPartitionsRevoked
in interface RebalanceListener
public void onPartitionsAssigned(Collection<LogPartition> partitions)
onPartitionsAssigned
in interface RebalanceListener
Copyright © 2018 Nuxeo. All rights reserved.