Skip to content

Conversation

@vietj
Copy link
Member

@vietj vietj commented Feb 4, 2026

Motivation:

Shutdown has historically used the (amount of time, time unit) pattern to describe the timeout of a shutdown operation.

Since Vert.x 5 we started to use the java type Duration for that in new APIs.

We should provide the opportunity to always use this overloading when the couple exists in existing APIs.

Changes:

Overload shutdown with (amount of time, time unit) with Duration in API.

Motivation:

Shutdown has historically used the (amount of time, time unit) pattern to describe the timeout of a shutdown operation.

Since Vert.x 5 we started to use the java type Duration for that in new APIs.

We should provide the opportunity to always use this overloading when the couple exists in existing APIs.

Changes:

Overload shutdown with (amount of time, time unit) with Duration in API.
@vietj vietj added this to the 5.1.0 milestone Feb 4, 2026
@vietj vietj self-assigned this Feb 4, 2026
@vietj vietj merged commit 5e06d18 into master Feb 4, 2026
9 of 13 checks passed
@vietj vietj deleted the shutdown-use branch February 4, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants