Skip to content

v4.0.0

Choose a tag to compare

@bbottema bbottema released this 12 Aug 18:16
· 34 commits to master since this release

Cluster-aware allocation and idle-resource maintenance

Version 4.0.0 passes the full typed ResourceKey<ClusterKey, PoolKey> to AllocatorFactory, allowing resource creation to use both cluster identity and pool identity (#1).

It also adds claimMatchingResourceFromPool(...) for selecting an already-idle resource by predicate without creating a pool or resource, enabling keep-alive and health workflows (#20).

Compatibility

This is a breaking allocator-factory API change: implementations must accept the full ResourceKey rather than only the pool key. The Java 8 baseline is retained. Matching predicates run under the pool claim lock and should remain fast.

Original tag date: 2026-07-05.