Object

agora.exec.rest

CachedOutput

Related Doc: package rest

Permalink

object CachedOutput extends FailFastCirceSupport with AutoDerivation

See agora.exec.model.OutputSettings for a description of caching strategy

Linear Supertypes
AutoDerivation, FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CachedOutput
  2. AutoDerivation
  3. FailFastCirceSupport
  4. FailFastUnmarshaller
  5. BaseCirceSupport
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 cache(cacheDir: Path, runProcess: RunProcess, exitCode: Int): Unit

    Permalink

    Save the runProcess data under the 'cacheDir'.

    Save the runProcess data under the 'cacheDir'.

    This assumes RunProcess.ensuringCacheOutputs was called on the runProcess

    cacheDir

    the <workspace>/.cache directory in which to write the data

    runProcess

    the job to save

    exitCode

    the job's exit code

  6. def cacheDir(workingDir: Path, runProcess: RunProcess): Path

    Permalink

    returns

    the cache directory for the given RunProcess under the workspace (workdingDir)

  7. def cachedResponse(workingDir: Path, httpRequest: HttpRequest, inputProcess: RunProcess)(implicit ec: ExecutionContext): Option[(CacheEntry, Future[HttpResponse])]

    Permalink

    given the working (workspace) directory which holds the user's files, the originating httpRequest, and the inputProcess unmarshalled from that request, return an optionally cached future response.

    given the working (workspace) directory which holds the user's files, the originating httpRequest, and the inputProcess unmarshalled from that request, return an optionally cached future response.

    The HttpResponse will contain the headers 'x-cache-out' and 'x-cache-err' which will refer to the original (cached) standard output and standard error results.

    Note: If the cached exit code is not a successful one (according to the request) and it's a streaming request, then the std error is returned.

    returns

    an optionally cached response

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. implicit macro def exportDecoder[A]: Exported[Decoder[A]]

    Permalink
    Definition Classes
    AutoDerivation
  12. implicit macro def exportEncoder[A]: Exported[ObjectEncoder[A]]

    Permalink
    Definition Classes
    AutoDerivation
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    BaseCirceSupport
  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
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AutoDerivation

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from AnyRef

Inherited from Any

Ungrouped