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

Eve-Java: Parameter with a confusing name in Scheduler.createTask #18

Closed
josdejong opened this issue Oct 30, 2013 · 0 comments
Closed

Comments

@josdejong
Copy link
Contributor

The function Scheduler.createTask has two optional parameters interval and sequential. The name interval sounds confusing, maybe repeat is a better name?

    /**
     * Schedule a task, potentially running at an interval
     * 
     * @param request    A JSONRequest with method and params
     * @param delay      The delay in milliseconds
     * @param interval   Should the task be repeated at an interval?
     * @param sequential Should (long running) tasks run sequential, or may they run in parallel?
     * @return taskId
     */
    String createTask(JSONRequest request, long delay, boolean interval, boolean sequential);
@ludost ludost closed this as completed in 671edaa Nov 19, 2013
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