Class PriorityCallable<T>

java.lang.Object
org.kquiet.concurrent.PriorityCallable<T>
Type Parameters:
T - the expected return type of Callable
All Implemented Interfaces:
Callable<T>, Prioritized

public class PriorityCallable<T> extends Object implements Prioritized, Callable<T>
Prioritized Callable. This class is for internal use.
Author:
Kimberly
  • Constructor Details

    • PriorityCallable

      public PriorityCallable(Callable<T> callable, int priority)
      Crate a prioritized Callable.
      Parameters:
      callable - wrapped Callable
      priority - priority
  • Method Details