Packages

object ConcurrentRestrictions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConcurrentRestrictions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Tag (name: String) extends Product with Serializable

    A key object used for associating information with a task.

  2. type TagMap = Map[Tag, Int]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val All: Tag

    A standard tag describing the total number of tasks.

  5. val Untagged: Tag

    A standard tag describing the number of tasks that do not otherwise have any tags.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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.

  9. 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.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def limitTotal[A](i: Int): ConcurrentRestrictions[A]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. 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

  22. val tagsKey: AttributeKey[TagMap]
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def unrestricted[A]: ConcurrentRestrictions[A]

    A ConcurrentRestrictions instance that places no restrictions on concurrently executing tasks.

  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped