Package com.exoscale.sdk.model
Class SearchShardSettings
java.lang.Object
com.exoscale.sdk.model.SearchShardSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class SearchShardSettings
extends Object
SearchShardSettings
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancellationBurst
(BigDecimal cancellationBurst) cancellationRate
(BigDecimal cancellationRate) cancellationRatio
(BigDecimal cancellationRatio) cpuTimeMillisThreshold
(Integer cpuTimeMillisThreshold) elapsedTimeMillisThreshold
(Integer elapsedTimeMillisThreshold) boolean
Return true if this Search_shard_settings object is equal to o.The maximum number of search tasks to cancel in a single iteration of the observer thread.The maximum number of tasks to cancel per millisecond of elapsed time.The maximum number of tasks to cancel, as a percentage of successful task completions.The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation.The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation.The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage.The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation.The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation.The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied.int
hashCode()
heapMovingAverageWindowSize
(Integer heapMovingAverageWindowSize) heapPercentThreshold
(BigDecimal heapPercentThreshold) heapVariance
(BigDecimal heapVariance) void
setCancellationBurst
(BigDecimal cancellationBurst) void
setCancellationRate
(BigDecimal cancellationRate) void
setCancellationRatio
(BigDecimal cancellationRatio) void
setCpuTimeMillisThreshold
(Integer cpuTimeMillisThreshold) void
setElapsedTimeMillisThreshold
(Integer elapsedTimeMillisThreshold) void
setHeapMovingAverageWindowSize
(Integer heapMovingAverageWindowSize) void
setHeapPercentThreshold
(BigDecimal heapPercentThreshold) void
setHeapVariance
(BigDecimal heapVariance) void
setTotalHeapPercentThreshold
(BigDecimal totalHeapPercentThreshold) toString()
totalHeapPercentThreshold
(BigDecimal totalHeapPercentThreshold) Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TOTAL_HEAP_PERCENT_THRESHOLD
- See Also:
-
JSON_PROPERTY_ELAPSED_TIME_MILLIS_THRESHOLD
- See Also:
-
JSON_PROPERTY_CANCELLATION_RATE
- See Also:
-
JSON_PROPERTY_HEAP_VARIANCE
- See Also:
-
JSON_PROPERTY_HEAP_MOVING_AVERAGE_WINDOW_SIZE
- See Also:
-
JSON_PROPERTY_CANCELLATION_RATIO
- See Also:
-
JSON_PROPERTY_HEAP_PERCENT_THRESHOLD
- See Also:
-
JSON_PROPERTY_CPU_TIME_MILLIS_THRESHOLD
- See Also:
-
JSON_PROPERTY_CANCELLATION_BURST
- See Also:
-
-
Constructor Details
-
SearchShardSettings
public SearchShardSettings()
-
-
Method Details
-
totalHeapPercentThreshold
-
getTotalHeapPercentThreshold
The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5 minimum: 0.0 maximum: 1.0- Returns:
- totalHeapPercentThreshold
-
setTotalHeapPercentThreshold
-
elapsedTimeMillisThreshold
-
getElapsedTimeMillisThreshold
The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000 minimum: 0- Returns:
- elapsedTimeMillisThreshold
-
setElapsedTimeMillisThreshold
-
cancellationRate
-
getCancellationRate
The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003 minimum: 0.0- Returns:
- cancellationRate
-
setCancellationRate
-
heapVariance
-
getHeapVariance
The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0 minimum: 0.0- Returns:
- heapVariance
-
setHeapVariance
-
heapMovingAverageWindowSize
-
getHeapMovingAverageWindowSize
The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100 minimum: 0- Returns:
- heapMovingAverageWindowSize
-
setHeapMovingAverageWindowSize
-
cancellationRatio
-
getCancellationRatio
The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1 minimum: 0.0 maximum: 1.0- Returns:
- cancellationRatio
-
setCancellationRatio
-
heapPercentThreshold
-
getHeapPercentThreshold
The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5 minimum: 0.0 maximum: 1.0- Returns:
- heapPercentThreshold
-
setHeapPercentThreshold
-
cpuTimeMillisThreshold
-
getCpuTimeMillisThreshold
The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000 minimum: 0- Returns:
- cpuTimeMillisThreshold
-
setCpuTimeMillisThreshold
-
cancellationBurst
-
getCancellationBurst
The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0 minimum: 1.0- Returns:
- cancellationBurst
-
setCancellationBurst
-
equals
Return true if this Search_shard_settings object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-