Skip to content

Improve JavaDoc of TaskScheduler interface [SPR-7253] #11912

@spring-projects-issues

Description

@spring-projects-issues

Florian Rampp opened SPR-7253 and commented

Improve the JavaDoc of the TaskScheduler interface by:

  1. specifying the time unit of the long parameters "period" and "delay" in several methods. I suspect its milliseconds, but this should be documented.
  2. specifying what happens, if the "startTime" parameter in several methods is in the past.
  3. improving the comment for TaskRejectedException for all methods. "if the given task was not accepted" is an obvious documentation. What exact conditions lead to this exception?

Affects: 3.0.3

Referenced from: commits 5b420e2

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions