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 ServerAddressserverAddress - 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)
ExecutorProviderExecutor for a ServerAddressgetExecutor in interface ExecutorProviderserverAddress - an HTTP server addressCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.