All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.blemale.scaffeine.DirectExecutionContext.scala Maven / Gradle / Ivy

package com.github.blemale.scaffeine

import scala.concurrent.ExecutionContext

private[scaffeine] object DirectExecutionContext extends ExecutionContext {
  override def execute(command: Runnable): Unit = command.run()

  override def reportFailure(cause: Throwable): Unit =
    throw new IllegalStateException(
      "problem in scaffeine internal callback",
      cause
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy