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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResourceClaimStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ResourceClaimStatus(allocation: Option[AllocationResult] = None, deallocationRequested: Option[Boolean] = None, driverName: Option[String] = None, reservedFor: Option[Seq[ResourceClaimConsumerReference]] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addReservedFor(newValues: ResourceClaimConsumerReference*): ResourceClaimStatus
Appends new values to reservedFor
- val allocation: Option[AllocationResult]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val deallocationRequested: Option[Boolean]
- val driverName: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapAllocation(f: (AllocationResult) ⇒ AllocationResult): ResourceClaimStatus
if allocation has a value, transforms to the result of function
-
def
mapDeallocationRequested(f: (Boolean) ⇒ Boolean): ResourceClaimStatus
if deallocationRequested has a value, transforms to the result of function
-
def
mapDriverName(f: (String) ⇒ String): ResourceClaimStatus
if driverName has a value, transforms to the result of function
-
def
mapReservedFor(f: (Seq[ResourceClaimConsumerReference]) ⇒ Seq[ResourceClaimConsumerReference]): ResourceClaimStatus
if reservedFor has a value, transforms to the result of function
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val reservedFor: Option[Seq[ResourceClaimConsumerReference]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAllocation(value: AllocationResult): ResourceClaimStatus
Returns a new data with allocation set to new value
-
def
withDeallocationRequested(value: Boolean): ResourceClaimStatus
Returns a new data with deallocationRequested set to new value
-
def
withDriverName(value: String): ResourceClaimStatus
Returns a new data with driverName set to new value
-
def
withReservedFor(value: Seq[ResourceClaimConsumerReference]): ResourceClaimStatus
Returns a new data with reservedFor set to new value