- Update to v3.2.0 * What’s Changed + Add handy Collectors for executing jobs on Virtual Threads but with limited parallelism + Retry once when provided Executor rejected + Replace Dispatcher's internal ExecutorService with an inline virtual thread * Dependencies + Bump junit.version from 5.10.3 to 5.11.0 + Bump org.codehaus.mojo:exec-maven-plugin from 3.4.0 to 3.4.1 + Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.4 to 3.2.5 + Bump org.slf4j:slf4j-simple from 2.0.14 to 2.0.16 + Bump org.awaitility:awaitility from 4.2.1 to 4.2.2 + Bump org.codehaus.mojo:exec-maven-plugin from 3.3.0 to 3.4.0 + Bump org.slf4j:slf4j-simple from 2.0.13 to 2.0.14 + Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.8.0 + Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 + Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 + Bump junit.version from 5.10.2 to 5.10.3 + Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 + Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 + Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 + Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 + Bump org.codehaus.mojo:exec-maven-plugin from 3.2.0 to 3.3.0 + Bump org.pitest:pitest-maven from 1.16.0 to 1.16.1 - Update to v3.1.0 * What’s Changed + Control parallelism on a separate virtual thread + Reject invalid Executor's RejectedExecutionHandlers + Add ExecutorPollutionTest + Add streaming tests for immediate processing start * Dependencies + Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.0 to 3.4.1 + Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.3 to 3.2.4 + Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.0 + Bump com.tngtech.archunit:archunit-junit5-api from 1.2.1 to 1.3.0 + Bump com.tngtech.archunit:archunit-junit5-engine from 1.2.1 to 1.3.0 + Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3 + Bump org.slf4j:slf4j-simple from 2.0.12 to 2.0.13 + Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 + Bump org.pitest:pitest-maven from 1.15.8 to 1.16.0 + Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 + Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.1 to 3.2.2 + Bump actions/cache from 4.0.1 to 4.0.2 + Bump org.awaitility:awaitility from 4.2.0 to 4.2.1 + Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 + Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 + Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.0 + Bump actions/cache from 4.0.0 to 4.0.1 + Bump org.codehaus.mojo:exec-maven-plugin from 3.1.1 to 3.2.0 + Bump org.pitest:pitest-maven from 1.15.7 to 1.15.8 + Bump org.pitest:pitest-maven from 1.15.6 to 1.15.7 + Bump org.slf4j:slf4j-simple from 2.0.11 to 2.0.12 + Bump release-drafter/release-drafter from 5.25.0 to 6.0.0 + Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 + Bump junit.version from 5.10.1 to 5.10.2 - Update to v3.0.0 * What's Changed + Default to Virtual Threads thread-per-task executor + Remove deprecated methods for next major release + Limit parallelism at thread-level instead of dispatcher-level + Handle interrupted exception at task level + Handle interruptions using same strategy as any other Dispatcher exception + Replace Collectors#toList with Stream#toList + Define module-info.java + Dispatcher to use caller thread instead of dedicated scheduler thread + Seal CompletionStrategy and reuse instances - Update to v2.6.0 * What's Changed + Dispatcher to use caller thread instead of dedicated scheduler thread + Increase min parallelism level to 4 + Remove redundant javadoc entries + Use List<> instead of Stream.Builder<> as accumulators + Ensure that Dispatcher can't be started more than one time + Remove redundant Dispatcher initialization logic + Removed unused property from pom.xml - Initial packaging with v2.5.0 OBS-URL: https://build.opensuse.org/request/show/1203711 OBS-URL: https://build.opensuse.org/package/show/Java:packages/parallel-collectors?expand=0&rev=3
68 lines
2.0 KiB
RPMSpec
68 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package parallel-collectors
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: parallel-collectors
|
|
Version: 3.2.0
|
|
Release: 0
|
|
Summary: A toolkit easing parallel collection processing in Java using Stream API
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/Java
|
|
URL: https://github.com/pivovarit/%{name}
|
|
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
BuildConflicts: java-devel < 21
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Parallel Collectors is a toolkit easing parallel collection processing in Java
|
|
using Stream API… but without limitations imposed by standard Parallel Streams.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
Group: Documentation/HTML
|
|
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
mv CHANGELOG.{MD,md}
|
|
|
|
%{mvn_file} : %{name}
|
|
|
|
%build
|
|
%{mvn_build} -f -- \
|
|
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
|
|
|
|
%install
|
|
%mvn_install
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE.md
|
|
%doc {CHANGELOG,CONTRIBUTING,README}.md
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE.md
|
|
|
|
%changelog
|
|
|