public class FlowBenchmark extends AbstractBenchmark
| Modifier and Type | Field and Description |
|---|---|
String |
processingStrategyFactory |
static String |
TEST_CONNECTOR |
static String |
TEST_PAYLOAD |
CONNECTOR_NAME, FLOW_NAME, KEY, PAYLOAD, VALUE| Constructor and Description |
|---|
FlowBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
Event |
processFlow() |
CountDownLatch |
processFlowStream() |
Event |
processSource() |
CountDownLatch |
processSourceStream() |
void |
setup() |
void |
teardown() |
createEvent, createEvent, createFlow, createMuleContext, createMuleContextWithServicespublic static final String TEST_PAYLOAD
public static final String TEST_CONNECTOR
public String processingStrategyFactory
public void teardown()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic Event processSource() 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.MuleExceptionInterruptedExceptionpublic Event processFlow() throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic CountDownLatch processFlowStream() throws org.mule.runtime.api.exception.MuleException, InterruptedException
org.mule.runtime.api.exception.MuleExceptionInterruptedExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.