Skip to content

Instantly share code, notes, and snippets.

haridaniel

Block or report user

Report or block haridaniel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@haridaniel
haridaniel / Main.java
Last active Mar 16, 2017
PriorityExecutor that preserves submit order within same priority levels
View Main.java
package hu.daniel.hari.exercises.threading.executors_priority._4;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import hu.daniel.hari.exercises.threading.executors_priority._4.PriorityExecutors.PriorityCallable;
import hu.daniel.hari.exercises.threading.executors_priority._4.PriorityExecutors.PriorityRunnable;
You can’t perform that action at this time.