public abstract class AbstractFlowBenchmark
extends org.mule.AbstractBenchmark
| Modifier and Type | Field and Description |
|---|---|
int |
bufferSize |
protected org.mule.runtime.core.api.construct.Flow |
flow |
int |
maxConcurrency |
protected org.mule.runtime.core.api.MuleContext |
muleContext |
String |
processingStrategyFactory |
protected org.mule.tck.TriggerableMessageSource |
source |
int |
subscribers |
| Constructor and Description |
|---|
AbstractFlowBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.core.api.MuleContext |
createMuleContextWithServices() |
protected abstract List<org.mule.runtime.core.api.processor.Processor> |
getMessageProcessors() |
protected abstract int |
getStreamIterations() |
org.mule.runtime.core.api.event.CoreEvent |
processSourceBlocking() |
CountDownLatch |
processSourceStream() |
void |
setup() |
void |
teardown() |
protected org.mule.runtime.core.api.MuleContext muleContext
protected org.mule.runtime.core.api.construct.Flow flow
protected org.mule.tck.TriggerableMessageSource source
public String processingStrategyFactory
public int subscribers
public int bufferSize
public int maxConcurrency
protected org.mule.runtime.core.api.MuleContext createMuleContextWithServices()
throws org.mule.runtime.api.exception.MuleException
createMuleContextWithServices in class org.mule.AbstractBenchmarkorg.mule.runtime.api.exception.MuleExceptionprotected abstract List<org.mule.runtime.core.api.processor.Processor> getMessageProcessors()
protected abstract int getStreamIterations()
public void teardown()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic org.mule.runtime.core.api.event.CoreEvent processSourceBlocking()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic CountDownLatch processSourceStream() throws InterruptedException
InterruptedExceptionCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.