Interface TaskSource<R>

Type Parameters:
R - the type of the tasks managed by this source

public interface TaskSource<R>
Represents a source of tasks from which tasks can be fetched one at a time. Implementations of this interface are responsible for providing the logic to retrieve the next available task or returning an empty result if no tasks are available.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details