Packages

object State extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. State
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class XState extends AnyVal

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. def apply(build: Build, pool: ClientPool, opts: CommonOptions, logger: Logger): State
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def loadActiveStateFor(configDir: AbsolutePath, pool: ClientPool, opts: CommonOptions, logger: Logger): Task[State]

    Loads an state active for the given configuration directory.

    Loads an state active for the given configuration directory.

    configDir

    The configuration directory to load a state for.

    pool

    The pool of listeners that are connected to this client.

    opts

    The common options associated with the state.

    logger

    The logger to be used to instantiate the state.

    returns

    An state (cached or not) associated with the configuration directory.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def setCores(state: State, threads: Int): State

    Sets up the cores for the execution context to be used for compiling and testing the project.

    Sets up the cores for the execution context to be used for compiling and testing the project.

    The execution context is for now global and it's reused across different states. When the number of threads that can be used is changed by the user, all the states of the builds are affected. This is the most reasonable way to do it since, I believe, having a thread pool per build state can end up being too expensive (this, however, must be tested and benchmarked in order to be truth, and that's left for the future).

    The following implementation relies that the thread pool we get is backed up by the executor in ExecutionContext. If this invariant changes, this implementation must change, as explained in ExecutionContext.

    The implementation of this method is forcibly mutable.

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped