Packages

c

io.github.vigoo.prox.ProcessGroup

ProcessGroupImplOE

case class ProcessGroupImplOE[F[_], O, E](firstProcess: UnboundIProcess[F, Stream[F, Byte], E], innerProcesses: List[UnboundIProcess[F, Stream[F, Byte], E]], lastProcess: UnboundIProcess[F, O, E], originalProcesses: List[Process[F, Unit, Unit]])(implicit concurrent: Concurrent[F]) extends ProcessGroup[F, O, E] with RedirectableInput[F, ProcessGroupImplIOE[F, O, E]] with Product with Serializable

Process group with bound output and error streams

Linear Supertypes
Serializable, Product, Equals, RedirectableInput[F, ProcessGroupImplIOE[F, O, E]], ProcessGroup[F, O, E], ProcessLike[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessGroupImplOE
  2. Serializable
  3. Product
  4. Equals
  5. RedirectableInput
  6. ProcessGroup
  7. ProcessLike
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ProcessGroupImplOE(firstProcess: UnboundIProcess[F, Stream[F, Byte], E], innerProcesses: List[UnboundIProcess[F, Stream[F, Byte], E]], lastProcess: UnboundIProcess[F, O, E], originalProcesses: List[Process[F, Unit, Unit]])(implicit concurrent: Concurrent[F])

Value Members

  1. def !<(stream: Stream[F, Byte]): ProcessGroupImplIOE[F, O, E]

    Feed the process input from a byte stream with flushing per chunks enabled.

    Feed the process input from a byte stream with flushing per chunks enabled.

    An alias for fromStream.

    stream

    Input stream

    returns

    A new process or process group with the input redirected and the input redirection capability removed.

    Definition Classes
    RedirectableInput
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def <(stream: Stream[F, Byte]): ProcessGroupImplIOE[F, O, E]

    Feed the process input from a byte stream.

    Feed the process input from a byte stream.

    An alias for fromStream.

    stream

    Input stream

    returns

    A new process or process group with the input redirected and the input redirection capability removed.

    Definition Classes
    RedirectableInput
  5. def <(path: Path): ProcessGroupImplIOE[F, O, E]

    Feed the process input from a file natively.

    Feed the process input from a file natively.

    An alias for fromFile.

    path

    Path to the file

    returns

    A new process or process group with the input redirected and the input redirection capability removed.

    Definition Classes
    RedirectableInput
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. implicit val concurrent: Concurrent[F]
    Definition Classes
    ProcessGroupImplOEProcessGroup
  10. def connectInput(source: InputRedirection[F]): ProcessGroupImplIOE[F, O, E]

    The low level method to attach an input to a process or process group.

    The low level method to attach an input to a process or process group.

    Use the other methods in this trait for convenience.

    source

    Redirection source

    returns

    A new process or process group with the input redirected and the input redirection capability removed.

    Definition Classes
    ProcessGroupImplOERedirectableInput
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. val firstProcess: UnboundIProcess[F, Stream[F, Byte], E]
    Definition Classes
    ProcessGroupImplOEProcessGroup
  14. def fromFile(path: Path): ProcessGroupImplIOE[F, O, E]

    Feed the process input from a file natively.

    Feed the process input from a file natively.

    An alias for <.

    path

    Path to the file

    returns

    A new process or process group with the input redirected and the input redirection capability removed.

    Definition Classes
    RedirectableInput
  15. def fromStream(stream: Stream[F, Byte], flushChunks: Boolean): ProcessGroupImplIOE[F, O, E]

    Feed the process input from a byte stream.

    Feed the process input from a byte stream.

    An alias for < and !<.

    stream

    Input stream

    flushChunks

    Flush the process input stream after each chunk

    returns

    A new process or process group with the input redirected and the input redirection capability removed.

    Definition Classes
    RedirectableInput
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val innerProcesses: List[UnboundIProcess[F, Stream[F, Byte], E]]
    Definition Classes
    ProcessGroupImplOEProcessGroup
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val lastProcess: UnboundIProcess[F, O, E]
    Definition Classes
    ProcessGroupImplOEProcessGroup
  20. def map(f: Mapper[F, O, E]): ProcessGroupImplOE[F, O, E]

    Applies the given mapper to each process in the group

    Applies the given mapper to each process in the group

    f

    process mapper

    returns

    a new process group with all the processes altered by the mapper

    Definition Classes
    ProcessGroupImplOEProcessGroup
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val originalProcesses: List[Process[F, Unit, Unit]]
    Definition Classes
    ProcessGroupImplOEProcessGroup
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def run(blocker: Blocker)(implicit runner: ProcessRunner[F]): F[ProcessGroupResult[F, O, E]]

    Starts the process group asynchronously and blocks the execution until it is finished

    Starts the process group asynchronously and blocks the execution until it is finished

    blocker

    Execution context for blocking operations

    runner

    The process runner to be used

    returns

    the result of the finished processes

    Definition Classes
    ProcessGroup
  27. def start(blocker: Blocker)(implicit runner: ProcessRunner[F]): Resource[F, Fiber[F, ProcessGroupResult[F, O, E]]]

    Starts the process group asynchronously and returns a closeable fiber representing it

    Starts the process group asynchronously and returns a closeable fiber representing it

    Joining the fiber waits for the processes to be terminated. Canceling the fiber terminates the processesnormally (with SIGTERM).

    blocker

    Execution context for blocking operations

    runner

    The process runner to be used

    returns

    a managed fiber representing the running processes

    Definition Classes
    ProcessGroup
  28. def startProcessGroup(blocker: Blocker)(implicit runner: ProcessRunner[F]): F[RunningProcessGroup[F, O, E]]

    Starts the process group asynchronously and returns the RunningProcessGroup interface for it

    Starts the process group asynchronously and returns the RunningProcessGroup interface for it

    This is the most advanced way to start process groups. See start and run as alternatives.

    blocker

    Execution context for blocking operations

    runner

    The process runner to be used

    returns

    interface for handling the running process group

    Definition Classes
    ProcessGroup
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RedirectableInput[F, ProcessGroupImplIOE[F, O, E]]

Inherited from ProcessGroup[F, O, E]

Inherited from ProcessLike[F]

Inherited from AnyRef

Inherited from Any

Ungrouped