public class WorkManagerSourceExecutorProvider extends Object implements ExecutorProvider
Constructor and Description |
---|
WorkManagerSourceExecutorProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addExecutor(ServerAddress serverAddress,
WorkManagerSource workManagerSource)
Adds an
Executor to be used when a request is made to
a ServerAddress |
Executor |
getExecutor(ServerAddress serverAddress)
Provides an
Executor for a ServerAddress |
public void addExecutor(ServerAddress serverAddress, WorkManagerSource workManagerSource)
Executor
to be used when a request is made to
a ServerAddress
serverAddress
- address to which the executor should be applied toworkManagerSource
- the executor to use when a request is done to the server addresspublic Executor getExecutor(ServerAddress serverAddress)
ExecutorProvider
Executor
for a ServerAddress
getExecutor
in interface ExecutorProvider
serverAddress
- an HTTP server addressCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.