Package

com.groupon.sparklint

common

Permalink

package common

Visibility
  1. Public
  2. All

Type Members

  1. case class CliSparklintConfig(exitOnError: Boolean = true) extends SparklintConfig with OptParse with Logging with Product with Serializable

    Permalink

    A simple wrapper around some build time specific configuration properties.

    A simple wrapper around some build time specific configuration properties.

    Since

    9/12/16.

  2. trait Logging extends AnyRef

    Permalink

    A trait for enabling logging.

    A trait for enabling logging. This is pretty much similar to what Spark does internally We replicate it here since the Spark one is private

    Since

    7/4/16.

  3. case class ScheduledTask[T](name: String, fn: () ⇒ Unit, periodSeconds: Int = 1, delaySeconds: Int = 0)(implicit logger: Logging) extends TimerTask with Product with Serializable

    Permalink

    A convenient class to represent a job to be scheduled

    A convenient class to represent a job to be scheduled

    T

    the type of the task input

    name

    the name of the task

    fn

    task function

    periodSeconds

    schedule interval

    delaySeconds

    initial job delay

    logger

    the logger used for logging

    Since

    9/15/16.

  4. class Scheduler extends SchedulerLike with Logging

    Permalink

    A way of scheduling tasks to run on timers.

    A way of scheduling tasks to run on timers. Not intended as a high resolution component, hence the use of multi-second period and delays.

    Since

    9/15/16.

  5. trait SchedulerLike extends AnyRef

    Permalink

    Since

    9/15/16.

  6. class SparkConfSparklintConfig extends SparklintConfig

    Permalink

    Since

    12/7/16.

  7. trait SparklintConfig extends AnyRef

    Permalink

    Since

    12/7/16.

Value Members

  1. object Utils

    Permalink

    Since

    8/31/16.

Ungrouped