Interface StandardSchedulerSettingsOrBuilder (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface StandardSchedulerSettingsOrBuilder extends MessageOrBuilder
Methods
getMaxInstances()
public abstract int getMaxInstances()
Maximum number of instances to run for this version. Set to zero to disable
max_instances
configuration.
int32 max_instances = 4;
Returns
Type | Description |
int | The maxInstances.
|
getMinInstances()
public abstract int getMinInstances()
Minimum number of instances to run for this version. Set to zero to disable
min_instances
configuration.
int32 min_instances = 3;
Returns
Type | Description |
int | The minInstances.
|
getTargetCpuUtilization()
public abstract double getTargetCpuUtilization()
Target CPU utilization ratio to maintain when scaling.
double target_cpu_utilization = 1;
Returns
Type | Description |
double | The targetCpuUtilization.
|
getTargetThroughputUtilization()
public abstract double getTargetThroughputUtilization()
Target throughput utilization ratio to maintain when scaling
double target_throughput_utilization = 2;
Returns
Type | Description |
double | The targetThroughputUtilization.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-09 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]