case class ResourceAvailable(cpu: Int, memory: Int, scratch: Int, gpu: List[Int], image: Option[String]) extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceAvailable
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResourceAvailable(cpu: Int, memory: Int, scratch: Int, gpu: List[Int], image: Option[String])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addBack(r: ResourceAllocated): ResourceAvailable
  5. def all: ResourceAllocated
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def canFulfillRequest(r: ResourceRequest): Boolean
  8. def canFulfillRequest(r: ResourceAllocated): Boolean
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. val cpu: Int
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. val gpu: List[Int]
  14. val gpuWithMultiplicities: List[(Int, Int)]
  15. val image: Option[String]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def maximum(r: ResourceRequest): ResourceAllocated
  18. val memory: Int
  19. def minimum(r: ResourceRequest): ResourceAllocated
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. val numGpu: Int
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val scratch: Int
  26. def substract(r: ResourceAllocated): ResourceAvailable
  27. def substract(r: ResourceRequest): ResourceAvailable
  28. def substractAll: ResourceAvailable
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped