Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disposeGracefully method to Scheduler #3089

Merged
merged 35 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
44f5f2e
Add Disposable.Graceful interface
chemicL Jun 23, 2022
6fbd57c
Improvements WIP
chemicL Jun 27, 2022
a4a5b0e
Merge branch '3.4.x' into 3068-schedulerGracefulClose
chemicL Jul 5, 2022
13c020f
WIP
chemicL Jul 7, 2022
92f18b8
WIP
chemicL Jul 11, 2022
9026186
WIP
chemicL Jul 11, 2022
0084749
Removed tests that race with task execution
chemicL Jul 13, 2022
0f2684c
Merge branch '3.4.x' into 3068-schedulerGracefulClose
chemicL Jul 13, 2022
3ed8ad3
BoundedElasticScheduler disposeGracefully rework
chemicL Jul 13, 2022
d1af720
Optimizing BoundedElasticScheduler disposal logic
chemicL Jul 14, 2022
0e801f0
WIP more concurrency tests, fixes
chemicL Jul 18, 2022
d10d98a
Migrated BoundedElasticScheduler JCStress tests to RaceTestUtils
chemicL Jul 22, 2022
52f1cf0
plain volatile access
chemicL Jul 22, 2022
b0fc331
Using for loops instead of getAndUpdate
chemicL Jul 22, 2022
5703eb8
lazy set
chemicL Jul 22, 2022
8b4bc63
Tests improvements
chemicL Jul 26, 2022
7a0452f
Generic SchedulerState
chemicL Jul 28, 2022
3dc8dca
Schedulers imports - avoid wildcards
chemicL Jul 28, 2022
8399b5b
Simplify start flow
chemicL Jul 28, 2022
9f5a7eb
Merge branch '3.4.x' into 3068-schedulerGracefulClose
chemicL Jul 28, 2022
8dd4afb
Javadoc
chemicL Jul 28, 2022
2d2aa4e
Avoid looping in BoundedElasticScheduler start and disposal
chemicL Aug 2, 2022
bd03603
Simplify state encapsulation in BoundedElasticScheduler
chemicL Aug 2, 2022
298c051
Simplified, preventing leaks
chemicL Aug 2, 2022
5e72d2e
Adjusting remaining schedulers
chemicL Aug 2, 2022
255878f
Removed dependency on BoundedState counter for state management
chemicL Aug 2, 2022
cbe6663
Ensured atomicity in BoundedServices.dispose() and properly draining …
chemicL Aug 3, 2022
6690a91
Moved Disposable.Graceful to Scheduler and removed gracePeriod param
chemicL Aug 10, 2022
fcc5079
Removed exceptions from start()
chemicL Aug 10, 2022
162cf2a
Merge branch '3.4.x' into 3068-schedulerGracefulClose
chemicL Aug 10, 2022
709f385
JCStress tests rework to avoid time validation, just state consistenc…
chemicL Aug 10, 2022
cb8373c
Add exclusion for japicmp
chemicL Aug 10, 2022
055f72c
Moved more thorough dispose validation to unit tests
chemicL Aug 11, 2022
c0c1eab
unused imports and copyright
chemicL Aug 11, 2022
c4a5a99
Merge branch '3.4.x' into 3068-schedulerGracefulClose
chemicL Aug 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion reactor-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ task japicmp(type: JapicmpTask) {
// TODO after a .0 release, bump the gradle.properties baseline
// TODO after a .0 release, remove the reactor-core exclusions below if any
classExcludes = [ ]
methodExcludes = [ ]
methodExcludes = [
"reactor.core.scheduler.Scheduler#disposeGracefully()"
]
}

gradle.taskGraph.afterTask { task, state ->
Expand Down