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

The behavior of ScheduledFuture.get() with Trigger is not clearly stated in either spec or javadoc #37

Open
glassfishrobot opened this issue Jul 10, 2014 · 4 comments

Comments

@glassfishrobot
Copy link

The behavior of calling get() on the ScheduledFuture returned by ManagedScheduledExecutorService.schedule() with a Trigger is not clearly defined in both the spec and javadoc.

Affected Versions

[1.0]

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by alai8

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
f.rowe said:
Consider a customer who creates a Trigger and uses ManagedScheduledExecutorService.schedule(Trigger) to achieve the equivalent of either of the ManagedScheduledExecutorService.scheduleAtFixedRate() or ManagedScheduledExecutorService.scheduleWithFixedDelay() methods. To avoid an inconsistency, we should define the behavior of ScheduledFuture.get() as being the same for all of these scenarios

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA CONCURRENCY_EE_SPEC-37

@glassfishrobot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant