public abstract class AbstractFlowBenchmark extends AbstractBenchmark
| Modifier and Type | Field and Description |
|---|---|
int |
bufferSize |
protected Flow |
flow |
int |
maxConcurrency |
protected MuleContext |
muleContext |
String |
processingStrategyFactory |
protected TriggerableMessageSource |
source |
int |
subscribers |
CONNECTOR_LOCATION, CONNECTOR_NAME, FLOW_NAME, KEY, PAYLOAD, VALUE| Constructor and Description |
|---|
AbstractFlowBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<Processor> |
getMessageProcessors() |
protected abstract int |
getStreamIterations() |
InternalEvent |
processSourceBlocking() |
CountDownLatch |
processSourceStream() |
void |
setup() |
void |
teardown() |
createEvent, createEvent, createFlow, createMuleContext, createMuleContextWithServicesprotected MuleContext muleContext
protected Flow flow
protected TriggerableMessageSource source
public String processingStrategyFactory
public int subscribers
public int bufferSize
public int maxConcurrency
protected abstract int getStreamIterations()
public void teardown()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic InternalEvent processSourceBlocking() throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic CountDownLatch processSourceStream() throws org.mule.runtime.api.exception.MuleException, InterruptedException
org.mule.runtime.api.exception.MuleExceptionInterruptedExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.