Package org.apache.polaris.nosql.async
Interface AsyncConfiguration
@PolarisImmutable
@ConfigMapping(prefix="polaris.async")
public interface AsyncConfiguration
Advanced configuration options to tune async activities.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.polaris.nosql.async.ImmutableAsyncConfiguration.Builderbuilder()Maximum number of threads available for asynchronous execution.Duration to keep idle threads alive.
-
Field Details
-
DEFAULT_THREAD_KEEP_ALIVE_STRING
- See Also:
-
DEFAULT_THREAD_KEEP_ALIVE
-
DEFAULT_MAX_THREADS_STRING
- See Also:
-
DEFAULT_MAX_THREADS
static final int DEFAULT_MAX_THREADS
-
-
Method Details
-
threadKeepAlive
Duration to keep idle threads alive. -
maxThreads
OptionalInt maxThreads()Maximum number of threads available for asynchronous execution. Default is 256. -
builder
static org.apache.polaris.nosql.async.ImmutableAsyncConfiguration.Builder builder()
-