object ConcurrentRestrictions
- Alphabetic
- By Inheritance
- ConcurrentRestrictions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
All: Tag
A standard tag describing the total number of tasks.
-
val
Untagged: Tag
A standard tag describing the number of tasks that do not otherwise have any tags.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
completionService[A, R](backing: Executor, tags: ConcurrentRestrictions[A], warn: (String) ⇒ Unit): CompletionService[A, R]
Constructs a CompletionService suitable for backing task execution based on the provided restrictions on concurrent task execution and using the provided Executor to manage execution on threads.
-
def
completionService[A, R](tags: ConcurrentRestrictions[A], warn: (String) ⇒ Unit): (CompletionService[A, R], () ⇒ Unit)
Constructs a CompletionService suitable for backing task execution based on the provided restrictions on concurrent task execution.
Constructs a CompletionService suitable for backing task execution based on the provided restrictions on concurrent task execution.
- A
the task type
- R
the type of data that will be computed by the CompletionService.
- returns
a pair, with _1 being the CompletionService and _2 a function to shutdown the service.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def limitTotal[A](i: Int): ConcurrentRestrictions[A]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tagged[A](get: (A) ⇒ TagMap, validF: (TagMap) ⇒ Boolean): ConcurrentRestrictions[A]
Implements concurrency restrictions on tasks based on Tags.
Implements concurrency restrictions on tasks based on Tags.
- A
type of a task
- get
extracts tags from a task
- validF
defines whether a set of tasks are allowed to execute concurrently based on their merged tags
- val tagsKey: AttributeKey[TagMap]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unrestricted[A]: ConcurrentRestrictions[A]
A ConcurrentRestrictions instance that places no restrictions on concurrently executing tasks.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )