Searched refs:JobWrapper (Results 1 – 1 of 1) sorted by relevance
37 private final LinkedList<JobWrapper<?>> mJobs = new LinkedList<JobWrapper<?>>();41 private static class JobWrapper<T> implements Future<T>, Job<T> { class in JobLimiter48 public JobWrapper(Job<T> job, FutureListener<T> listener) { in JobWrapper() method in JobLimiter.JobWrapper137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener); in submit()146 JobWrapper wrapper = mJobs.removeFirst(); in submitTasksIfAllowed()