minor comment add
This commit is contained in:
+11
@@ -35,6 +35,12 @@ public class PriorityTaskPicker
|
||||
|
||||
private volatile boolean isShutDown = false;
|
||||
|
||||
|
||||
|
||||
//==================//
|
||||
// executor methods //
|
||||
//==================//
|
||||
|
||||
/**
|
||||
* Creates an executor with a specific priority.
|
||||
* Higher priority executors have more exponentially entries in the distribution queue, giving them a greater chance to run tasks.
|
||||
@@ -152,6 +158,11 @@ public class PriorityTaskPicker
|
||||
}
|
||||
|
||||
|
||||
|
||||
//================//
|
||||
// helper classes //
|
||||
//================//
|
||||
|
||||
public class Executor extends AbstractExecutorService
|
||||
{
|
||||
private final Queue<TrackedRunnable> tasks = new ConcurrentLinkedQueue<>();
|
||||
|
||||
Reference in New Issue
Block a user