Class/Object

com.criteo.cuttle.timeseries

CuttleProject

Related Docs: object CuttleProject | package timeseries

Permalink

class CuttleProject extends AnyRef

A cuttle project is a workflow to execute with the appropriate scheduler. See the CuttleProject companion object to create projects.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CuttleProject
  2. AnyRef
  3. 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. val authenticator: Authenticator

    Permalink
  6. def build(platforms: Seq[ExecutionPlatform] = CuttleProject.defaultPlatforms, databaseConfig: DatabaseConfig = DatabaseConfig.fromEnv, retryStrategy: RetryStrategy = ..., paused: Boolean = false, stateRetention: Option[Duration] = None, logsRetention: Option[Duration] = None, maxVersionsHistory: Option[Int] = None): (Service, () ⇒ Unit)

    Permalink

    Connect to database and build routes.

    Connect to database and build routes. It allows you to start externally a server and decide when to start the scheduling.

    platforms

    The configured ExecutionPlatforms to use to execute jobs.

    databaseConfig

    JDBC configuration for MySQL server 5.7.

    retryStrategy

    The strategy to use for execution retry. Default to exponential backoff.

    paused

    Automatically pause all jobs at startup.

    stateRetention

    If specified, automatically clean the timeseries state older than the given duration.

    logsRetention

    If specified, automatically clean the execution logs older than the given duration.

    maxVersionsHistory

    If specified keep only the version information for the x latest versions.

    returns

    a tuple with cuttleRoutes (needed to start a server) and a function to start the scheduler

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val description: String

    Permalink
  9. val env: (String, Boolean)

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  16. val jobs: Workflow

    Permalink
  17. val logger: Logger

    Permalink
  18. val name: String

    Permalink
  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. def start(platforms: Seq[ExecutionPlatform] = CuttleProject.defaultPlatforms, httpPort: Int = 8888, databaseConfig: DatabaseConfig = DatabaseConfig.fromEnv, retryStrategy: RetryStrategy = ..., paused: Boolean = false, stateRetention: Option[Duration] = None, logsRetention: Option[Duration] = None, maxVersionsHistory: Option[Int] = None): Unit

    Permalink

    Start scheduling and execution with the given environment.

    Start scheduling and execution with the given environment. It also starts an HTTP server providing an Web UI and a JSON API.

    platforms

    The configured ExecutionPlatforms to use to execute jobs.

    httpPort

    The port to use for the HTTP daemon.

    databaseConfig

    JDBC configuration for MySQL server 5.7.

    retryStrategy

    The strategy to use for execution retry. Default to exponential backoff.

    paused

    Automatically pause all jobs at startup.

    stateRetention

    If specified, automatically clean the timeseries state older than the given duration.

    logsRetention

    If specified, automatically clean the execution logs older than the given duration.

    maxVersionsHistory

    If specified keep only the version information for the x latest versions.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. val version: String

    Permalink
  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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped