# Package org.apache.groovy.util.concurrent

package org.apache.groovy.util.concurrent
Concurrent programming utilities. Thread-safe data structures and concurrency helpers.

- Related Packages
  Package
  Description
  org.apache.groovy.util
  General-purpose utility classes.
  org.apache.groovy.util.concurrent.concurrentlinkedhashmap
  This package contains an implementation of a bounded `ConcurrentMap` data structure.
- Class
  Description
  ConcurrentReferenceHashMap<K,V>
  An 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.
  ConcurrentReferenceHashMap.InitializableEntry<K,V>
  Reusable entry implementation for cached entry iteration.
  ConcurrentReferenceHashMap.Option
  Behavior-changing configuration options for the map
  ConcurrentReferenceHashMap.ReferenceType
  An option specifying which Java reference type should be used to refer to a key and/or value.
  ConcurrentReferenceHashMap.SimpleEntry<K,V>
  Simple mutable entry implementation used by the map views.
  LazyInitializable
  A `LazyInitializable` is an object that can be initialized lazily.
  ManagedIdentityConcurrentMap<K,V>
  This is a basic implementation of a map able to forget its keys could be weak/soft/strong references.
  ThreadHelper
  Helper for starting threads that prefers virtual threads when running on Java 21+, falling back to platform threads on older runtimes.