final case class ResourceClaimStatus(allocation: Option[AllocationResult] = None, deallocationRequested: Option[Boolean] = None, driverName: Option[String] = None, reservedFor: Option[Seq[ResourceClaimConsumerReference]] = None) extends Product with Serializable

ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.

Source
ResourceClaimStatus.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceClaimStatus
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResourceClaimStatus(allocation: Option[AllocationResult] = None, deallocationRequested: Option[Boolean] = None, driverName: Option[String] = None, reservedFor: Option[Seq[ResourceClaimConsumerReference]] = None)

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 addReservedFor(newValues: ResourceClaimConsumerReference*): ResourceClaimStatus

    Appends new values to reservedFor

  5. val allocation: Option[AllocationResult]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val deallocationRequested: Option[Boolean]
  9. val driverName: Option[String]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapAllocation(f: (AllocationResult) ⇒ AllocationResult): ResourceClaimStatus

    if allocation has a value, transforms to the result of function

  14. def mapDeallocationRequested(f: (Boolean) ⇒ Boolean): ResourceClaimStatus

    if deallocationRequested has a value, transforms to the result of function

  15. def mapDriverName(f: (String) ⇒ String): ResourceClaimStatus

    if driverName has a value, transforms to the result of function

  16. def mapReservedFor(f: (Seq[ResourceClaimConsumerReference]) ⇒ Seq[ResourceClaimConsumerReference]): ResourceClaimStatus

    if reservedFor has a value, transforms to the result of function

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val reservedFor: Option[Seq[ResourceClaimConsumerReference]]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def withAllocation(value: AllocationResult): ResourceClaimStatus

    Returns a new data with allocation set to new value

  26. def withDeallocationRequested(value: Boolean): ResourceClaimStatus

    Returns a new data with deallocationRequested set to new value

  27. def withDriverName(value: String): ResourceClaimStatus

    Returns a new data with driverName set to new value

  28. def withReservedFor(value: Seq[ResourceClaimConsumerReference]): ResourceClaimStatus

    Returns a new data with reservedFor set to new value

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped