JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-601  -  Add a client API to list the queued jobs in a JPPF client
Posted Aug 18, 2019 - updated Aug 21, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Enhancement
  • Status
     
    Closed
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Client
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 6.0.4
Issue description
We propose to add an API to obtain information about the jobs queued in a JPPFClient instance, for instance:
public class JPPFClient extends AbstractGenericClient {
  // get the list of currently queued jobs
  public List<JPPFJob> getQueuedJobs();
 
  // get a list of currently queued jobs, filtered by a JobSelector
  public List<JPPFJob> getQueuedJobs(JobSelector selector);
 
  // get the current number of queued jobs
  public int getQueuedJobsCount();
 
  // get the current number of jobs that satisfy a job selector
  public int getQueuedJobsCount(JobSelector selector);
}