java.lang.Object
net.i2p.router.web.helpers.JobQueueHelper.JobGroup
All Implemented Interfaces:
Serializable, Comparable<JobQueueHelper.JobGroup>
Enclosing class:
JobQueueHelper

private static class JobQueueHelper.JobGroupextends Object implements Comparable<JobQueueHelper.JobGroup>, Serializable
A group of jobs with the same name and time key. Sorts by time, then by name.
  • Field Details

    • jobName

      final String jobName
      The name of the job group.
    • time

      final long time
      The time the group's jobs are bucketed by.
    • jobs

      final List<Job> jobs
      The jobs in the group.
    • coll

      private static final Collator coll
      Collator comparing the job names.
  • Constructor Details

    • JobGroup

      JobGroup(String jobName, long time, List<Job> jobs)
      Groups the jobs of one name and time.
      Parameters:
      jobName - the name of the group
      time - the time the jobs are bucketed by
      jobs - the jobs in the group
  • Method Details