Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMaxErrorRetryCount (0.29 sec)

  1. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ConnectionProperties.java

                }
            }
            return Optional.fromNullable(count);
        }
    
        public Optional<Integer> getMaxErrorRetryCount() {
            return maxErrorRetryCount;
        }
    
        public long getPartSize() {
            return partSize;
        }
    
        public long getMultipartThreshold() {
            return partSize * 2;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Client.java

                    clientConfiguration.setProxyPassword(credentials.getPassword());
                }
            }
            Optional<Integer> maxErrorRetryCount = s3ConnectionProperties.getMaxErrorRetryCount();
            if (maxErrorRetryCount.isPresent()) {
                clientConfiguration.setMaxErrorRetry(maxErrorRetryCount.get());
            }
            return clientConfiguration;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ClientTest.groovy

            s3Properties.getProxy() >> Optional.of(new HttpProxySettings.HttpProxy("localhost", 8080, 'username', 'password'))
            s3Properties.getEndpoint() >> Optional.absent()
            s3Properties.getMaxErrorRetryCount() >> Optional.absent()
            when:
            S3Client s3Client = new S3Client(credentials(), s3Properties)
    
            then:
            s3Client.amazonS3Client.clientConfiguration.proxyHost == 'localhost'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

            S3ConnectionProperties s3SystemProperties = Mock {
                getEndpoint() >> Optional.of(server.uri)
                getProxy() >> Optional.fromNullable(null)
                getMaxErrorRetryCount() >> Optional.absent()
                getPartSize() >> 512
                getMultipartThreshold() >> 1024
            }
    
            S3Client s3Client = new S3Client(authenticationImpl, s3SystemProperties)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top