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 TagMap: Map[Tag, Int]
  6. val Untagged: Tag

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

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def cancelAll(): Unit
  9. def cancellableCompletionService[A, R](tags: ConcurrentRestrictions[A], warn: (String) ⇒ Unit, isSentinel: (A) ⇒ Boolean): (CompletionService[A, R], (Boolean) ⇒ Unit)
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def completionService[A, R](backing: Executor, tags: ConcurrentRestrictions[A], warn: (String) ⇒ Unit, isSentinel: (A) ⇒ Boolean): CompletionService[A, R] with CancelSentiels with AutoCloseable

    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.

  12. def completionService[A, R](backing: Executor, tags: ConcurrentRestrictions[A], warn: (String) ⇒ Unit): CompletionService[A, R] with AutoCloseable
  13. def completionService[A, R](tags: ConcurrentRestrictions[A], warn: (String) ⇒ Unit, isSentinel: (A) ⇒ Boolean): (CompletionService[A, R], () ⇒ Unit)
  14. 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.

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

  27. val tagsKey: AttributeKey[TagMap]
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def unrestricted[A]: ConcurrentRestrictions[A]

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

  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped