Class/Object

agora.exec.run

RemoteRunner

Related Docs: object RemoteRunner | package run

Permalink

case class RemoteRunner(exchange: ExchangeClient, defaultFrameLength: Int, allowTruncation: Boolean, requestWorkOnFailure: Boolean, keyOpt: Option[SubscriptionKey] = None)(implicit uploadTimeout: FiniteDuration) extends ProcessRunner with AutoCloseable with FailFastCirceSupport with LazyLogging with Product with Serializable

A client of the ExecutionRoutes

Linear Supertypes
Serializable, Serializable, Product, Equals, LazyLogging, FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, AutoCloseable, ProcessRunner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemoteRunner
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LazyLogging
  7. FailFastCirceSupport
  8. FailFastUnmarshaller
  9. BaseCirceSupport
  10. AutoCloseable
  11. ProcessRunner
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RemoteRunner(exchange: ExchangeClient, defaultFrameLength: Int, allowTruncation: Boolean, requestWorkOnFailure: Boolean, keyOpt: Option[SubscriptionKey] = None)(implicit uploadTimeout: FiniteDuration)

    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. val allowTruncation: Boolean

    Permalink
  5. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    RemoteRunner → AutoCloseable
  8. val defaultFrameLength: Int

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val exchange: ExchangeClient

    Permalink
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  14. implicit final def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  15. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  16. val keyOpt: Option[SubscriptionKey]

    Permalink
  17. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  18. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  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 requestWorkOnFailure: Boolean

    Permalink
  23. def run(proc: RunProcess): ProcessOutput

    Permalink

    Execute the RunProcess, returning a future of the std out

    Execute the RunProcess, returning a future of the std out

    proc

    the job to execute

    returns

    the stdout as an iterator of lines in a Future which completes when the job does

    Definition Classes
    RemoteRunnerProcessRunner
  24. final def run(cmd: String, theRest: String*): ProcessOutput

    Permalink
    Definition Classes
    ProcessRunner
  25. def runAndSave(proc: RunProcessAndSave): Future[RunProcessAndSaveResponse]

    Permalink

    Execute the RunProcessAndSave, writing the results to disk

    Execute the RunProcessAndSave, writing the results to disk

    returns

    a future of the response

    Definition Classes
    RemoteRunnerProcessRunner
  26. def runAndSelect(proc: RunProcess): Future[SelectionOutput]

    Permalink

    Executes the job via the exchange, returning an ExecutionClient which can be used to upload/execute jobs to the worker which produced the output.

    Executes the job via the exchange, returning an ExecutionClient which can be used to upload/execute jobs to the worker which produced the output.

    It's called 'runAndSelect' because it can be used to select a worker which can then be used to ensure the same workspace is used on the same server.

    proc

    the job to execute

    returns

    both the subscription key client and the job output

  27. final def runAndSelect(cmd: String, theRest: String*): Future[SelectionOutput]

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

    Permalink
    Definition Classes
    AnyRef
  29. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  30. def unmarshallerContentTypes: Seq[ContentTypeRange]

    Permalink
    Definition Classes
    BaseCirceSupport
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withSubscription(key: SubscriptionKey): RemoteRunner

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from AutoCloseable

Inherited from ProcessRunner

Inherited from AnyRef

Inherited from Any

Ungrouped