Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAllowed(String) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds an exact string to allow.
- addAllowed(Predicate<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a predicate specifying strings to allow.
- addAllowedPattern(Pattern) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a
Patternspecifying strings to allow. - addAllowedPrefix(String) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a prefix specifying strings to allow.
- addAllowedSuffix(String) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a suffix specifying strings to allow.
- addDenied(String) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds an exact string to deny.
- addDenied(Predicate<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a predicate which specifies strings to deny.
- addDeniedPattern(Pattern) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a
Patternwhich specifies strings to deny. - addDeniedPrefix(String) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a prefix which specifies strings to deny.
- addDeniedSuffix(String) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Adds a suffix which specifies strings to deny.
- afterExecute(Runnable, Throwable) - Method in class io.helidon.common.configurable.ThreadPool
- allowAll(boolean) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Allows all strings to match (subject to "deny" conditions).
- allowed(List<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Exact strings to allow.
- allowedPatterns(List<Pattern>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Patterns specifying strings to allow. - allowedPrefixes(List<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Prefixes specifying strings to allow.
- allowedSuffixes(List<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Suffixes specifying strings to allow.
- AllowList - Interface in io.helidon.common.configurable
-
AllowListdefines a list of allowed and/or denied matches and tests if a particular value conforms to the conditions. - AllowList.Builder - Class in io.helidon.common.configurable
-
Fluent API builder for
AllowList. - asThreadPool(ExecutorService) - Static method in class io.helidon.common.configurable.ThreadPool
-
Returns the given executor as a
ThreadPoolif possible.
B
- beforeExecute(Thread, Runnable) - Method in class io.helidon.common.configurable.ThreadPool
- BINARY_CONTENT - Enum constant in enum class io.helidon.common.configurable.Resource.Source
-
Resource was created with binary content.
- build() - Method in class io.helidon.common.configurable.AllowList.Builder
- build() - Method in class io.helidon.common.configurable.LruCache.Builder
- build() - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier.Builder
- build() - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
- builder() - Static method in interface io.helidon.common.configurable.AllowList
-
Create a fluent API builder to configure an instance.
- builder() - Static method in class io.helidon.common.configurable.LruCache
-
Create a new builder.
- builder() - Static method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier
-
Create a new fluent API builder to build thread pool supplier.
- builder() - Static method in class io.helidon.common.configurable.ServerThreadPoolSupplier
-
Create a new fluent API builder to build a thread pool supplier.
- builder() - Static method in class io.helidon.common.configurable.ThreadPoolSupplier
-
Create a new fluent API builder to build thread pool supplier.
- bytes() - Method in interface io.helidon.common.configurable.Resource
-
Get bytes of this resource.
C
- cacheBytes() - Method in interface io.helidon.common.configurable.Resource
-
Caches the resource bytes in memory, so they can be repeatedly accessed.
- capacity() - Method in class io.helidon.common.configurable.LruCache
-
Capacity of this cache.
- capacity(int) - Method in class io.helidon.common.configurable.LruCache.Builder
-
Configure capacity of the cache.
- CLASSPATH - Enum constant in enum class io.helidon.common.configurable.Resource.Source
-
Resource was loaded from classpath.
- clear() - Method in class io.helidon.common.configurable.LruCache
-
Clear all records in the cache.
- computeValue(K, Supplier<Optional<V>>) - Method in class io.helidon.common.configurable.LruCache
-
Either return a cached value or compute it and cache it.
- config(Config) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Update builder from configuration.
- config(Config) - Method in class io.helidon.common.configurable.LruCache.Builder
-
Load configuration of this cache from configuration.
- config(Config) - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier.Builder
-
Load all properties for this thread pool executor from configuration.
- config(Config) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Load all properties for this thread pool from configuration.
- CONTENT - Enum constant in enum class io.helidon.common.configurable.Resource.Source
-
Resource was created with string content.
- corePoolSize() - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier
-
Returns size of core pool.
- corePoolSize() - Method in class io.helidon.common.configurable.ThreadPoolSupplier
-
Returns size of core pool.
- corePoolSize(int) - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier.Builder
-
Core pool size of the thread pool executor.
- corePoolSize(int) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Core pool size of the thread pool executor.
- create() - Static method in class io.helidon.common.configurable.LruCache
-
Create an instance with default configuration.
- create() - Static method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier
-
Create a new thread pool supplier with default configuration.
- create() - Static method in class io.helidon.common.configurable.ServerThreadPoolSupplier
-
Create a new thread pool supplier with default configuration.
- create(Config) - Static method in interface io.helidon.common.configurable.AllowList
-
Create
AllowListfrom configurtion. - create(Config) - Static method in interface io.helidon.common.configurable.Resource
-
Loads the resource from appropriate location based on configuration.
- create(Config) - Static method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier
-
Load supplier from configuration.
- create(Config) - Static method in class io.helidon.common.configurable.ServerThreadPoolSupplier
-
Create supplier from configuration.
- create(Config, String) - Static method in class io.helidon.common.configurable.ThreadPoolSupplier
-
Load supplier from configuration.
- create(String) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from classpath.
- create(String) - Static method in class io.helidon.common.configurable.ThreadPoolSupplier
-
Create a new thread pool supplier with default configuration and a given name.
- create(String, byte[]) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from binary content.
- create(String, InputStream) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from binary content from an input stream, using
Resource.Source.UNKNOWNtype. - create(String, String) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from text content (e.g.
- create(URI) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from URI provided.
- create(URI, Proxy) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from URI provided with an explicit proxy server.
- create(Path) - Static method in interface io.helidon.common.configurable.Resource
-
Load resource from file system.
D
- daemon(boolean) - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier.Builder
-
Is daemon of the thread pool executor.
- daemon(boolean) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Is daemon of the thread pool executor.
- DEFAULT_CAPACITY - Static variable in class io.helidon.common.configurable.LruCache
-
Default capacity of the cache: 10000.
- denied(List<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Exact strings to deny.
- deniedPatterns(List<Pattern>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Patterns specifying strings to deny.
- deniedPrefixes(List<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Prefixes specifying strings to deny.
- deniedSuffixes(List<String>) - Method in class io.helidon.common.configurable.AllowList.Builder
-
Suffixes specifying strings to deny.
- description() - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver.MethodInvocation
-
Returns a brief description of the interesting value.
- displayName() - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver.MethodInvocation
-
Returns a displayable name for the value.
E
- ExecutorServiceSupplierObserver - Interface in io.helidon.common.configurable.spi
-
Behavior for observers of the various executor service suppliers.
- ExecutorServiceSupplierObserver.MethodInvocation - Interface in io.helidon.common.configurable.spi
-
Information about method invocations to retrieve interesting (e.g., metrics) values from an executor service.
- ExecutorServiceSupplierObserver.SupplierObserverContext - Interface in io.helidon.common.configurable.spi
-
Context with which suppliers (or their surrogates) interact with observers.
F
- FILE - Enum constant in enum class io.helidon.common.configurable.Resource.Source
-
Resource was loaded from a file.
G
- get() - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier
- get() - Method in class io.helidon.common.configurable.ServerThreadPoolSupplier
- get() - Method in class io.helidon.common.configurable.ThreadPoolSupplier
- get(K) - Method in class io.helidon.common.configurable.LruCache
-
Get a value from the cache.
- getActiveThreads() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the current number of active threads.
- getAverageActiveThreads() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the average number of active threads across the life of the pool.
- getAverageQueueSize() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the average queue size.
- getCompletedTasks() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the number of completed tasks.
- getFailedTasks() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the number of tasks that threw an exception.
- getName() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the name of this pool.
- getPeakQueueSize() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the peak queue size.
- getQueue() - Method in class io.helidon.common.configurable.ThreadPool
- getQueueCapacity() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the queue capacity.
- getQueueSize() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the current number of tasks in the queue.
- getRejectedExecutionHandler() - Method in class io.helidon.common.configurable.ThreadPool
- getRejectionCount() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the rejection count.
- getRejectionCount() - Method in class io.helidon.common.configurable.ThreadPool.RejectionHandler
-
Returns the number of rejections.
- getTotalTasks() - Method in class io.helidon.common.configurable.ThreadPool
-
Returns the number of completed and failed tasks.
I
- io.helidon.common.configurable - module io.helidon.common.configurable
-
Common tools that use config component.
- io.helidon.common.configurable - package io.helidon.common.configurable
-
General utilities that use
Config. - io.helidon.common.configurable.spi - package io.helidon.common.configurable.spi
-
Loadable service definitions.
- isFixedSize() - Method in class io.helidon.common.configurable.ThreadPool
-
Tests whether or not the number of threads can change over time.
K
- keepAliveMinutes(int) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Keep alive minutes of the thread pool executor.
L
- location() - Method in interface io.helidon.common.configurable.Resource
-
Location (or description) of this resource, depends on original source.
- LruCache<K,
V> - Class in io.helidon.common.configurable -
Least recently used cache.
- LruCache.Builder<K,
V> - Class in io.helidon.common.configurable -
Fluent API builder for
LruCache.
M
- maxPoolSize(int) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Max pool size of the thread pool executor.
- method() - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver.MethodInvocation
-
Returns the method to invoke to retrieve the value.
N
- name(String) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Name of this thread pool executor.
P
- prestart(boolean) - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier.Builder
-
Whether to prestart core threads in this thread pool executor.
- prestart(boolean) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Whether to prestart core threads in this thread pool executor.
- put(K, V) - Method in class io.helidon.common.configurable.LruCache
-
Put a value to the cache.
Q
- queueCapacity(int) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Queue capacity of the thread pool executor.
R
- registerExecutorService(ExecutorService, int) - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver.SupplierObserverContext
-
Informs the observer which created the context of a new executor service created by the supplier.
- registerSupplier(Supplier<? extends ExecutorService>, int, String) - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver
-
Makes a supplier known to the observer and returns a supplier context for the supplier to use for future interactions with the observer.
- registerSupplier(Supplier<? extends ExecutorService>, int, String, List<ExecutorServiceSupplierObserver.MethodInvocation>) - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver
-
Makes a supplier known to the observer and returns a supplier context for the supplier to use for future interactions with the observer, using the
ExecutorServiceSupplierObserver.MethodInvocationabstraction for invoking methods to obtain metric values. - rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class io.helidon.common.configurable.ThreadPool.RejectionHandler
- rejectionHandler(ThreadPool.RejectionHandler) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Rejection policy of the thread pool executor.
- RejectionHandler() - Constructor for class io.helidon.common.configurable.ThreadPool.RejectionHandler
-
Creates a new rejection handler that counts rejections when attempting to offer rejected tasks to thread pool executor.
- remove(K) - Method in class io.helidon.common.configurable.LruCache
-
Remove a value from the cache.
- Resource - Interface in io.helidon.common.configurable
-
A representation of a resource that can be loaded from URL (
Resource.create(URI)), classpath (Resource.create(String)), filesystem (Resource.create(Path), content in config (Resource.create(Config), input stream(Resource.create(String, InputStream), or direct value (Resource.create(String, byte[]),Resource.create(String, String). - Resource.Source - Enum Class in io.helidon.common.configurable
-
Source of a
Resource. - ResourceException - Exception Class in io.helidon.common.configurable
- ResourceException(String) - Constructor for exception class io.helidon.common.configurable.ResourceException
-
Exception with message only.
- ResourceException(String, Throwable) - Constructor for exception class io.helidon.common.configurable.ResourceException
-
Exception with message and cause.
S
- ScheduledThreadPoolSupplier - Class in io.helidon.common.configurable
-
Supplier of a custom scheduled thread pool.
- ScheduledThreadPoolSupplier.Builder - Class in io.helidon.common.configurable
-
A fluent API builder for
ScheduledThreadPoolSupplier. - ServerThreadPoolSupplier - Class in io.helidon.common.configurable
-
Supplier of a custom thread pool with defaults appropriate for a thread-per-request server.
- setMaximumPoolSize(int) - Method in class io.helidon.common.configurable.ThreadPool
- setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class io.helidon.common.configurable.ThreadPool
- shutdown() - Method in class io.helidon.common.configurable.ThreadPool
- shutdownNow() - Method in class io.helidon.common.configurable.ThreadPool
- size() - Method in class io.helidon.common.configurable.LruCache
-
Current size of the map.
- sourceType() - Method in interface io.helidon.common.configurable.Resource
-
Type of this resource, depends on the original source.
- stream() - Method in interface io.helidon.common.configurable.Resource
-
Get an input stream to this resource.
- string() - Method in interface io.helidon.common.configurable.Resource
-
Get string content of this resource.
- string(Charset) - Method in interface io.helidon.common.configurable.Resource
-
Get string content of this resource.
T
- test(String) - Method in interface io.helidon.common.configurable.AllowList
-
Test whether a value can be permitted.
- threadNamePrefix(String) - Method in class io.helidon.common.configurable.ScheduledThreadPoolSupplier.Builder
-
Name prefix for threads in this thread pool executor.
- threadNamePrefix(String) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Name prefix for threads in this thread pool executor.
- ThreadPool - Class in io.helidon.common.configurable
-
A
ThreadPoolExecutorwith an extensible growth policy and queue state accessors. - ThreadPool.RejectionHandler - Class in io.helidon.common.configurable
-
A
RejectedExecutionHandlerthat supports pool growth by re-attempting to add the task to the queue. - ThreadPoolSupplier - Class in io.helidon.common.configurable
-
Supplier of a custom thread pool.
- ThreadPoolSupplier.Builder - Class in io.helidon.common.configurable
-
A fluent API builder for
ThreadPoolSupplier. - throwException(ThreadPoolExecutor) - Method in class io.helidon.common.configurable.ThreadPool.RejectionHandler
-
Throws an exception.
- toString() - Method in class io.helidon.common.configurable.ThreadPool
- type() - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver.MethodInvocation
-
Returns the data type of the interesting value.
U
- UNKNOWN - Enum constant in enum class io.helidon.common.configurable.Resource.Source
-
Resource was created with an input stream without knowledge of type.
- unregisterExecutorService(ExecutorService) - Method in interface io.helidon.common.configurable.spi.ExecutorServiceSupplierObserver.SupplierObserverContext
-
Informs the observer that an executor is shutting down.
- URL - Enum constant in enum class io.helidon.common.configurable.Resource.Source
-
Resource was loaded from URL.
V
- valueOf(String) - Static method in enum class io.helidon.common.configurable.Resource.Source
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.helidon.common.configurable.Resource.Source
-
Returns an array containing the constants of this enum class, in the order they are declared.
- virtualEnforced(boolean) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- virtualIfAvailable(boolean) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- virtualThreads(boolean) - Method in class io.helidon.common.configurable.ThreadPoolSupplier.Builder
-
When configured to
true, an unbounded virtual executor service (project Loom) will be used.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
virtualThreads(boolean)