- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getPartSize (0.13 sec)
-
platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ClientTest.groovy
final S3ConnectionProperties s3ConnectionProperties = Mock() def setup(){ _ * s3ConnectionProperties.getEndpoint() >> Optional.absent() _ * s3ConnectionProperties.getPartSize() >> 512 _ * s3ConnectionProperties.getMultipartThreshold() >> 1024 } def "Should upload to s3"() { given: AmazonS3Client amazonS3Client = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 10.3K bytes - Viewed (0) -
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) -
platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Client.java
InitiateMultipartUploadResult initResponse = amazonS3Client.initiateMultipartUpload(initRequest); try { long filePosition = 0; long partSize = s3ConnectionProperties.getPartSize(); LOGGER.debug("Attempting to put resource:[{}] into s3 bucket [{}]", s3BucketKey, bucketName); for (int partNumber = 1; filePosition < contentLength; partNumber++) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy
getEndpoint() >> Optional.of(server.uri) getProxy() >> Optional.fromNullable(null) getMaxErrorRetryCount() >> Optional.absent() getPartSize() >> 512 getMultipartThreshold() >> 1024 } S3Client s3Client = new S3Client(authenticationImpl, s3SystemProperties) when: def stream = new FileInputStream(file)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0)