public static class SmallRyeManagedExecutor.Builder extends Object implements org.eclipse.microprofile.context.ManagedExecutor.Builder
Constructor and Description |
---|
Builder(SmallRyeContextManager manager) |
Modifier and Type | Method and Description |
---|---|
SmallRyeManagedExecutor |
build() |
SmallRyeManagedExecutor.Builder |
cleared(String... types) |
SmallRyeManagedExecutor.Builder |
injectionPointName(String name) |
SmallRyeManagedExecutor.Builder |
maxAsync(int max) |
SmallRyeManagedExecutor.Builder |
maxQueued(int max) |
SmallRyeManagedExecutor.Builder |
propagated(String... types) |
SmallRyeManagedExecutor.Builder |
withExecutorService(ExecutorService executorService) |
public Builder(SmallRyeContextManager manager)
public SmallRyeManagedExecutor build()
build
in interface org.eclipse.microprofile.context.ManagedExecutor.Builder
public SmallRyeManagedExecutor.Builder propagated(String... types)
propagated
in interface org.eclipse.microprofile.context.ManagedExecutor.Builder
public SmallRyeManagedExecutor.Builder maxAsync(int max)
maxAsync
in interface org.eclipse.microprofile.context.ManagedExecutor.Builder
public SmallRyeManagedExecutor.Builder maxQueued(int max)
maxQueued
in interface org.eclipse.microprofile.context.ManagedExecutor.Builder
public SmallRyeManagedExecutor.Builder cleared(String... types)
cleared
in interface org.eclipse.microprofile.context.ManagedExecutor.Builder
public SmallRyeManagedExecutor.Builder injectionPointName(String name)
public SmallRyeManagedExecutor.Builder withExecutorService(ExecutorService executorService)
Copyright © 2019 JBoss by Red Hat. All rights reserved.