Class

os

ProcessPipeline

Related Doc: package os

Permalink

class ProcessPipeline extends ProcessLike

Self Type
ProcessPipeline
Linear Supertypes
ProcessLike, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessPipeline
  2. ProcessLike
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessPipeline(processes: Seq[SubProcess], pipefail: Boolean, brokenPipeQueue: Option[LinkedBlockingQueue[Int]])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Alias for destroy, implemented for java.lang.AutoCloseable.

    Alias for destroy, implemented for java.lang.AutoCloseable.

    Definition Classes
    ProcessPipelineProcessLike → AutoCloseable
  7. def commandString: String

    Permalink

    String representation of the pipeline.

  8. def destroy(): Unit

    Permalink

    Attempt to destroy the ProcessPipeline (gently), via the underlying JVM APIs.

    Attempt to destroy the ProcessPipeline (gently), via the underlying JVM APIs. All processes in the pipeline are destroyed.

    Definition Classes
    ProcessPipelineProcessLike
  9. def destroyForcibly(): Unit

    Permalink

    Force-destroys the ProcessPipeline, via the underlying JVM APIs.

    Force-destroys the ProcessPipeline, via the underlying JVM APIs. All processes in the pipeline are force-destroyed.

    Definition Classes
    ProcessPipelineProcessLike
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exitCode(): Int

    Permalink

    The exit code of this ProcessPipeline.

    The exit code of this ProcessPipeline. Conventionally, 0 exit code represents a successful termination, and non-zero exit code indicates a failure. Throws an exception if the subprocess has not terminated.

    If pipefail is set, the exit code is the first non-zero exit code of the pipeline. If no process in the pipeline has a non-zero exit code, the exit code is 0.

    Definition Classes
    ProcessPipelineProcessLike
  13. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def isAlive(): Boolean

    Permalink

    Returns true if the ProcessPipeline is still running and has not terminated.

    Returns true if the ProcessPipeline is still running and has not terminated. Any process in the pipeline can be alive for the pipeline to be alive.

    Definition Classes
    ProcessPipelineProcessLike
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def join(timeout: Long = 1): Boolean

    Permalink

    Wait up to millis for the ProcessPipeline to terminate all the processes in pipeline.

    Wait up to millis for the ProcessPipeline to terminate all the processes in pipeline. By default waits indefinitely; if a time limit is given, explicitly destroys each process if it has not completed by the time the timeout has occurred.

    Definition Classes
    ProcessPipelineProcessLike
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val processes: Seq[SubProcess]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def waitFor(timeout: Long = 1): Boolean

    Permalink

    Wait up to millis for the ProcessPipeline to terminate, by default waits indefinitely.

    Wait up to millis for the ProcessPipeline to terminate, by default waits indefinitely. Returns true if the ProcessPipeline has terminated by the time this method returns.

    Waits for each process one by one, while aggregating the total time waited. If timeout has passed before all processes have terminated, returns false.

    Definition Classes
    ProcessPipelineProcessLike

Inherited from ProcessLike

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped