Package

dagr.core

execsystem

Permalink

package execsystem

Visibility
  1. Public
  2. All

Type Members

  1. case class Cores(value: Double) extends Resource[Double, Cores] with Product with Serializable

    Permalink

    A resource representing a number of cores (including partial cores).

  2. trait FinalStatusReporter extends AnyRef

    Permalink

    Provides a method to provide an execution report for a task tracker

  3. class GraphNode extends BaseGraphNode

    Permalink

    A node in the execution graph

  4. case class Memory(value: Long) extends Resource[Long, Memory] with Product with Serializable

    Permalink

    A resource representing the memory.

  5. class NaiveScheduler extends Scheduler

    Permalink

    Simple scheduler that picks the task that uses the most memory, cores, then disk.

  6. sealed abstract class Resource[T, R <: Resource[T, R]] extends AnyRef

    Permalink

    Sealed base class that Resources must extend.

    Sealed base class that Resources must extend. Requires that resources have a single numeric value, and then provides useful arithmetic and relational operators on that value.

    T

    the type of number the value is expressed in, e.g. Long or Double

    R

    self-referential type required to make all the operators work nicely

  7. case class ResourceSet(cores: Cores = Cores.none, memory: Memory = Memory.none) extends Product with Serializable

    Permalink

    Holds information about a set of resources

  8. abstract class Scheduler extends LazyLogging

    Permalink

    Scheduler of Task tasks

  9. case class SystemResources(cores: Cores, systemMemory: Memory, jvmMemory: Memory) extends Product with Serializable

    Permalink
  10. class TaskException extends Exception

    Permalink

    An exception that can be thrown when there is an error processing tasks, that encapsulates the thrown exception and a failure status to use.

  11. class TaskExecutionInfo extends AnyRef

    Permalink

    The state of execution of a Task.

  12. class TaskManager extends TaskManagerLike with TaskTracker with FinalStatusReporter with LazyLogging

    Permalink

    A manager of tasks.

    A manager of tasks.

    No validation of whether or not we actually have the provided system or in-Jvm resources will occur.

  13. trait TaskTracker extends TaskManagerLike with LazyLogging

    Permalink

    Tracks tasks during their execution

  14. trait Terminal extends AnyRef

    Permalink
  15. class TopLikeStatusReporter extends Terminal

    Permalink

    Mix this trait into a dagr.core.execsystem.TaskManager to provide the refresh() method for a top-like status interface.

Value Members

  1. object Cores extends Serializable

    Permalink

    Companion object for Core adding an additional apply() method.

  2. object CursorMovement

    Permalink

    ANSI Strings for cursor movements.

    ANSI Strings for cursor movements.

    See: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x361.html

  3. object GraphNodeState extends Enumeration

    Permalink

    The state for a GraphNode.

  4. object Memory extends Serializable

    Permalink

    Companion object for Memory adding some additional apply() methods and defining some useful constant memory values.

  5. object Resource

    Permalink

    Manipulates system resources

  6. object ResourceSet extends Serializable

    Permalink
  7. object SystemResources extends Serializable

    Permalink

    The resources needed for the task manager

  8. object TaskManager extends LazyLogging

    Permalink

    Defaults and utility methods for a TaskManager.

  9. object TaskManagerDefaults extends LazyLogging

    Permalink

    Various defaults for task manager

  10. object TaskStatus extends Enumeration

    Permalink

    The state for a Task.

  11. object Terminal

    Permalink

    Simple methods for a terminal

  12. object TopLikeStatusReporter

    Permalink

Ungrouped