Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.concurrent/ExecutionContextExecutorService

ExecutionContextExecutorService

scala.concurrent.ExecutionContextExecutorService

AnExecutionContext that is also a JavaExecutorService.

Attributes

Source
ExecutionContext.scala
Graph
Supertypes

Members list

Value members

Inherited methods

defclose():Unit

Attributes

Inherited from:
ExecutorService

Inherited and Abstract methods

Attributes

Inherited from:
Executor
definvokeAll[T <:<FromJavaObject>](x$0:Collection[_ <:Callable[T]],x$1:Long,x$2:TimeUnit):List[Future[T]]

Attributes

Inherited from:
ExecutorService
definvokeAll[T <:<FromJavaObject>](x$0:Collection[_ <:Callable[T]]):List[Future[T]]

Attributes

Inherited from:
ExecutorService
definvokeAny[T <:<FromJavaObject>](x$0:Collection[_ <:Callable[T]],x$1:Long,x$2:TimeUnit):T

Attributes

Inherited from:
ExecutorService
definvokeAny[T <:<FromJavaObject>](x$0:Collection[_ <:Callable[T]]):T

Attributes

Inherited from:
ExecutorService

Attributes

Inherited from:
ExecutorService

Attributes

Inherited from:
ExecutorService

Reports that an asynchronous computation failed.

Reports that an asynchronous computation failed.

Value parameters

cause

the cause of the failure

Attributes

Inherited from:
ExecutionContext
Source
ExecutionContext.scala

Attributes

Inherited from:
ExecutorService

Attributes

Inherited from:
ExecutorService
defsubmit(x$0:Runnable):Future[_ <:<FromJavaObject>]

Attributes

Inherited from:
ExecutorService
defsubmit[T <:<FromJavaObject>](x$0:Runnable,x$1:T):Future[T]

Attributes

Inherited from:
ExecutorService
defsubmit[T <:<FromJavaObject>](x$0:Callable[T]):Future[T]

Attributes

Inherited from:
ExecutorService

Deprecated and Inherited methods

Prepares for the execution of a task.

Prepares for the execution of a task. Returns the prepared execution context. The recommended implementation ofprepare is to returnthis.

This method should no longer be overridden or called. It was originally expected thatprepare would be called by all libraries that consume ExecutionContexts, in order to capture thread local context. However, this usage has proven difficult to implement in practice and instead it is now better to avoid usingprepare entirely.

Instead, if anExecutionContext needs to capture thread local context, it should capture that context when it is constructed, so that it doesn't need any additional preparation later.

Attributes

Deprecated
[Since version 2.12.0]preparation of ExecutionContexts will be removed
Inherited from:
ExecutionContext
Source
ExecutionContext.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp