final case class AllocationResult(availableOnNodes: Option[NodeSelector] = None, resourceHandles: Option[Seq[ResourceHandle]] = None, shareable: Option[Boolean] = None) extends Product with Serializable
AllocationResult contains attributes of an allocated resource.
- Source
- AllocationResult.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AllocationResult
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AllocationResult(availableOnNodes: Option[NodeSelector] = None, resourceHandles: Option[Seq[ResourceHandle]] = None, shareable: Option[Boolean] = 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
addResourceHandles(newValues: ResourceHandle*): AllocationResult
Appends new values to resourceHandles
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val availableOnNodes: Option[NodeSelector]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
mapAvailableOnNodes(f: (NodeSelector) ⇒ NodeSelector): AllocationResult
if availableOnNodes has a value, transforms to the result of function
-
def
mapResourceHandles(f: (Seq[ResourceHandle]) ⇒ Seq[ResourceHandle]): AllocationResult
if resourceHandles has a value, transforms to the result of function
-
def
mapShareable(f: (Boolean) ⇒ Boolean): AllocationResult
if shareable 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 resourceHandles: Option[Seq[ResourceHandle]]
- val shareable: Option[Boolean]
-
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
withAvailableOnNodes(value: NodeSelector): AllocationResult
Returns a new data with availableOnNodes set to new value
-
def
withResourceHandles(value: Seq[ResourceHandle]): AllocationResult
Returns a new data with resourceHandles set to new value
-
def
withShareable(value: Boolean): AllocationResult
Returns a new data with shareable set to new value