Packages

abstract class BackgroundJobService extends Closeable

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

Instance Constructors

  1. new BackgroundJobService()

Abstract Value Members

  1. abstract def close(): Unit

    Same as shutdown.

    Same as shutdown.

    Definition Classes
    BackgroundJobService → Closeable → AutoCloseable
  2. abstract def copyClasspath(products: Classpath, full: Classpath, workingDirectory: File): Classpath

    Copies classpath to temporary directories.

  3. abstract def jobs: Vector[JobHandle]
  4. abstract def runInBackground(spawningTask: Def.ScopedKey[_], state: State)(start: (Logger, File) ⇒ Unit): JobHandle

    Launch a background job which is a function that runs inside another thread; killing the job will interrupt() the thread.

    Launch a background job which is a function that runs inside another thread; killing the job will interrupt() the thread. If your thread blocks on a process, then you should get an InterruptedException while blocking on the process, and then you could process.destroy() for example.

  5. abstract def shutdown(): Unit

    Shuts down all background jobs.

  6. abstract def stop(job: JobHandle): Unit
  7. abstract def waitFor(job: JobHandle): Unit

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. def waitForTry(job: JobHandle): Try[Unit]

    Delegate to waitFor but catches any exceptions and returns the result in an instance of Try.

    Delegate to waitFor but catches any exceptions and returns the result in an instance of Try.

    job

    the job to wait for

    returns

    the result of waiting for the job to complete.

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped