public class FireAndForgetExecutionStrategy<S> extends ExecutionStrategyTemplate<S>
| Modifier and Type | Field and Description |
|---|---|
protected ExecutorService |
executorService |
moduleReferenceParser, serviceExecutions| Constructor and Description |
|---|
FireAndForgetExecutionStrategy(com.google.common.base.Function<org.osgi.framework.ServiceReference,com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
protected Callable |
createServiceExecution(org.osgi.framework.ServiceReference serviceReference,
com.atlassian.tenancy.api.Tenant tenant,
com.google.common.base.Function<S,?> serviceCallback) |
protected String |
getDescription() |
void |
trigger() |
addprotected final ExecutorService executorService
public FireAndForgetExecutionStrategy(com.google.common.base.Function<org.osgi.framework.ServiceReference,com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser,
ExecutorService executorService)
public void trigger()
protected Callable createServiceExecution(org.osgi.framework.ServiceReference serviceReference, com.atlassian.tenancy.api.Tenant tenant, com.google.common.base.Function<S,?> serviceCallback)
createServiceExecution in class ExecutionStrategyTemplate<S>protected String getDescription()
getDescription in class ExecutionStrategyTemplate<S>Copyright © 2003–2015 Atlassian. All rights reserved.