Package org.apache.groovy.util.concurrent
package org.apache.groovy.util.concurrent
Concurrent programming utilities. Thread-safe data structures and concurrency helpers.
-
ClassDescriptionAn advanced hash table supporting configurable garbage collection semantics of keys and values, optional referential-equality, full concurrency of retrievals, and adjustable expected concurrency for updates.Reusable entry implementation for cached entry iteration.Behavior-changing configuration options for the mapAn option specifying which Java reference type should be used to refer to a key and/or value.Simple mutable entry implementation used by the map views.A
LazyInitializableis an object that can be initialized lazily.This is a basic implementation of a map able to forget its keys could be weak/soft/strong references.Helper for starting threads that prefers virtual threads when running on Java 21+, falling back to platform threads on older runtimes.