public static class PoolMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PoolMetrics.Builder |
activelyUsedNodeCount(List<NodeCount> activelyUsedNodeCount)
A count of the nodes that are currently being used for each shape in this pool.
|
PoolMetrics.Builder |
activeRunsCount(Long activeRunsCount)
The number of runs that are currently running that are using this pool.
|
PoolMetrics |
build() |
PoolMetrics.Builder |
copy(PoolMetrics model) |
PoolMetrics.Builder |
timeLastMetricsUpdated(Date timeLastMetricsUpdated)
The last time the mertics were updated for this.
|
PoolMetrics.Builder |
timeLastStarted(Date timeLastStarted)
The last time this pool was started.
|
PoolMetrics.Builder |
timeLastStopped(Date timeLastStopped)
The last time this pool was stopped.
|
PoolMetrics.Builder |
timeLastUsed(Date timeLastUsed)
The last time a run used this pool.
|
public PoolMetrics.Builder timeLastStarted(Date timeLastStarted)
The last time this pool was started.
timeLastStarted
- the value to setpublic PoolMetrics.Builder timeLastStopped(Date timeLastStopped)
The last time this pool was stopped.
timeLastStopped
- the value to setpublic PoolMetrics.Builder timeLastUsed(Date timeLastUsed)
The last time a run used this pool.
timeLastUsed
- the value to setpublic PoolMetrics.Builder timeLastMetricsUpdated(Date timeLastMetricsUpdated)
The last time the mertics were updated for this.
timeLastMetricsUpdated
- the value to setpublic PoolMetrics.Builder activeRunsCount(Long activeRunsCount)
The number of runs that are currently running that are using this pool.
activeRunsCount
- the value to setpublic PoolMetrics.Builder activelyUsedNodeCount(List<NodeCount> activelyUsedNodeCount)
A count of the nodes that are currently being used for each shape in this pool.
activelyUsedNodeCount
- the value to setpublic PoolMetrics build()
public PoolMetrics.Builder copy(PoolMetrics model)
Copyright © 2016–2024. All rights reserved.