Interface WorkerPool
- All Superinterfaces:
Identified
,Named
,Serializable
- All Known Implementing Classes:
ConfiguredWorkerPool
,ProvisionedWorkerPool
A pool of workers that are managed together.
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the worker pool was created.int
The expected number of nodes.getId()
Returns the IDgetName()
The name used to uniquely identify this worker pool.The namespace that this worker pool is constrained to.The summary of the nodes in this worker pool.The properties of this worker pool.The worker pool status.The date and time when the status last changed.The summary of the workers in this worker pool.boolean
Indicates if the worker pool is awaiting the registration of nodes.
-
Method Details
-
getId
String getId()Description copied from interface:Identified
Returns the ID- Specified by:
getId
in interfaceIdentified
- Returns:
- the ID
-
getName
-
getNamespace
String getNamespace()The namespace that this worker pool is constrained to.- Returns:
- the namespace that the worker pool is constrained to
-
getCreatedTime
Instant getCreatedTime()The date and time when the worker pool was created.- Returns:
- the date and time when the worker pool was created
-
getStatus
-
getStatusChangedTime
Instant getStatusChangedTime()The date and time when the status last changed.- Returns:
- the date and time when the status last changed
-
getExpectedNodeCount
int getExpectedNodeCount()The expected number of nodes.- Returns:
- the expected number of nodes
-
isAwaitingNodes
boolean isAwaitingNodes()Indicates if the worker pool is awaiting the registration of nodes.- Returns:
- true, if the worker pool is awaiting the registration of nodes; otherwise, false
-
getWorkerSummary
WorkerSummary getWorkerSummary()The summary of the workers in this worker pool.- Returns:
- the summary of the workers
-
getNodeSummary
NodeSummary getNodeSummary()The summary of the nodes in this worker pool.- Returns:
- the summary of the nodes
-
getProperties
WorkerPoolProperties getProperties()The properties of this worker pool.- Returns:
- the properties of this worker pool
-