All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.CircuitBreakers.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250320-2.0.0
Show newest version






CircuitBreakers (Compute Engine API v1-rev20250107-2.0.0)












com.google.api.services.compute.model

Class CircuitBreakers

    • Constructor Detail

      • CircuitBreakers

        public CircuitBreakers()
    • Method Detail

      • getMaxConnections

        public Integer getMaxConnections()
        The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Returns:
        value or null for none
      • setMaxConnections

        public CircuitBreakers setMaxConnections(Integer maxConnections)
        The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Parameters:
        maxConnections - maxConnections or null for none
      • getMaxPendingRequests

        public Integer getMaxPendingRequests()
        The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Returns:
        value or null for none
      • setMaxPendingRequests

        public CircuitBreakers setMaxPendingRequests(Integer maxPendingRequests)
        The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Parameters:
        maxPendingRequests - maxPendingRequests or null for none
      • getMaxRequests

        public Integer getMaxRequests()
        The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
        Returns:
        value or null for none
      • setMaxRequests

        public CircuitBreakers setMaxRequests(Integer maxRequests)
        The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
        Parameters:
        maxRequests - maxRequests or null for none
      • getMaxRequestsPerConnection

        public Integer getMaxRequestsPerConnection()
        Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Returns:
        value or null for none
      • setMaxRequestsPerConnection

        public CircuitBreakers setMaxRequestsPerConnection(Integer maxRequestsPerConnection)
        Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Parameters:
        maxRequestsPerConnection - maxRequestsPerConnection or null for none
      • getMaxRetries

        public Integer getMaxRetries()
        The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Returns:
        value or null for none
      • setMaxRetries

        public CircuitBreakers setMaxRetries(Integer maxRetries)
        The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
        Parameters:
        maxRetries - maxRetries or null for none
      • clone

        public CircuitBreakers clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy