Class Executors

java.lang.Object
dev.enola.common.concurrent.Executors

public final class Executors extends Object
Additional factory and utility methods for executors.

Use this instead of Executors, because it ensures that:

  • the TLC is correctly propagated
  • the returned Executor uses a ThreadFactory that is named,
  • has an UncaughtExceptionHandler which logs to SLF4j
  • can return (Guava's) ListenableFuture.