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







CircuitBreakers (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class CircuitBreakers

    • Constructor Detail

      • CircuitBreakers

        public CircuitBreakers()
    • Method Detail

      • getConnectTimeout

        public Duration getConnectTimeout()
        The timeout for new network connections to hosts.
        Returns:
        value or null for none
      • setConnectTimeout

        public CircuitBreakers setConnectTimeout(Duration connectTimeout)
        The timeout for new network connections to hosts.
        Parameters:
        connectTimeout - connectTimeout or null for none
      • getMaxConnections

        public Integer getMaxConnections()
        The maximum number of connections to the backend service. If not specified, there is no limit.
        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.
        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.
        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.
        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.
        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.
        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.
        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.
        Parameters:
        maxRetries - maxRetries or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy