sbt

ConcurrentRestrictions

object ConcurrentRestrictions extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ConcurrentRestrictions
  2. AnyRef
  3. Any
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val All: Tag

    A standard tag describing the total number of tasks.

  7. val Untagged: Tag

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

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. 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.

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

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def limitTotal[A](i: Int): ConcurrentRestrictions[A]

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. 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

  24. val tagsKey: AttributeKey[TagMap]

  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def unrestricted[A]: ConcurrentRestrictions[A]

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

  27. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any