Home
last modified time | relevance | path

Searched refs:thresholdInBytes (Results 1 – 16 of 16) sorted by relevance

/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/multipart/
DMultipartConfiguration.java42 private final Long thresholdInBytes; field in MultipartConfiguration
47 this.thresholdInBytes = builder.thresholdInBytes; in MultipartConfiguration()
61 .thresholdInBytes(thresholdInBytes); in toBuilder()
69 public Long thresholdInBytes() { in thresholdInBytes() method in MultipartConfiguration
70 return this.thresholdInBytes; in thresholdInBytes()
113 Builder thresholdInBytes(Long thresholdInBytes); in thresholdInBytes() method
119 Long thresholdInBytes(); in thresholdInBytes() method
167 private Long thresholdInBytes; field in MultipartConfiguration.DefaultMultipartConfigBuilder
171 public Builder thresholdInBytes(Long thresholdInBytes) { in thresholdInBytes() method in MultipartConfiguration.DefaultMultipartConfigBuilder
172 this.thresholdInBytes = thresholdInBytes; in thresholdInBytes()
[all …]
/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/multipart/
DMultipartConfigurationResolver.java31 private final long thresholdInBytes; field in MultipartConfigurationResolver
39 …this.thresholdInBytes = Validate.getOrDefault(multipartConfiguration.thresholdInBytes(), () -> min… in MultipartConfigurationResolver()
46 public long thresholdInBytes() { in thresholdInBytes() method in MultipartConfigurationResolver
47 return thresholdInBytes; in thresholdInBytes()
DUploadObjectHelper.java50 this.multipartUploadThresholdInBytes = resolver.thresholdInBytes(); in UploadObjectHelper()
DMultipartS3AsyncClient.java65 long threshold = resolver.thresholdInBytes(); in MultipartS3AsyncClient()
/external/aws-sdk-java-v2/services/s3/src/test/java/software/amazon/awssdk/services/s3/internal/multipart/
DMultipartConfigurationResolverTest.java31 assertThat(resolver.thresholdInBytes()).isEqualTo(10L); in resolveThresholdInBytes_valueNotProvided_shouldSameAsPartSize()
38 .thresholdInBytes(12L) in resolveThresholdInBytes_valueProvided_shouldHonor()
41 assertThat(resolver.thresholdInBytes()).isEqualTo(12L); in resolveThresholdInBytes_valueProvided_shouldHonor()
66 .thresholdInBytes(8L) in valueProvidedForAllFields_shouldHonor()
71 assertThat(resolver.thresholdInBytes()).isEqualTo(8L); in valueProvidedForAllFields_shouldHonor()
80 assertThat(resolver.thresholdInBytes()).isEqualTo(8L * 1024 * 1024); in noValueProvided_shouldUseDefault()
DMultipartClientUserAgentTest.java49 … .multipartConfiguration(c -> c.minimumPartSizeInBytes(512L).thresholdInBytes(512L)) in init()
DUploadObjectHelperTest.java105 … .thresholdInBytes(THRESHOLD) in beforeEach()
106 … .thresholdInBytes(PART_SIZE * 2) in beforeEach()
/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/crt/
DS3NativeClientConfiguration.java55 private final long thresholdInBytes; field in S3NativeClientConfiguration
93 this.thresholdInBytes = builder.thresholdInBytes == null ? this.partSizeInBytes : in S3NativeClientConfiguration()
94 builder.thresholdInBytes; in S3NativeClientConfiguration()
172 public long thresholdInBytes() { in thresholdInBytes() method in S3NativeClientConfiguration
173 return thresholdInBytes; in thresholdInBytes()
224 private Long thresholdInBytes; field in S3NativeClientConfiguration.Builder
292 public Builder thresholdInBytes(Long thresholdInBytes) { in thresholdInBytes() argument
293 this.thresholdInBytes = thresholdInBytes; in thresholdInBytes()
DDefaultS3CrtAsyncClient.java86 …long thresholdInBytes = builder.thresholdInBytes == null ? partSizeInBytes : builder.thresholdInBy… in DefaultS3CrtAsyncClient() local
89 thresholdInBytes); in DefaultS3CrtAsyncClient()
158 Validate.isPositiveOrNull(builder.thresholdInBytes, "thresholdInBytes"); in initializeS3CrtAsyncHttpClient()
171 .thresholdInBytes(builder.thresholdInBytes) in initializeS3CrtAsyncHttpClient()
202 private Long thresholdInBytes; field in DefaultS3CrtAsyncClient.DefaultS3CrtClientBuilder
300 public S3CrtAsyncClientBuilder thresholdInBytes(Long thresholdInBytes) { in thresholdInBytes() argument
301 this.thresholdInBytes = thresholdInBytes; in thresholdInBytes()
DS3CrtAsyncHttpClient.java105 … .withMultipartUploadThreshold(s3NativeClientConfiguration.thresholdInBytes()) in createS3ClientOption()
/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/
DS3CrtAsyncClientBuilder.java310 S3CrtAsyncClientBuilder thresholdInBytes(Long thresholdInBytes); in thresholdInBytes() argument
/external/aws-sdk-java-v2/test/s3-benchmarks/src/main/java/software/amazon/awssdk/s3benchmarks/
DBaseJavaS3ClientBenchmark.java63 … .thresholdInBytes(partSizeInMb * 2 * MB) in BaseJavaS3ClientBenchmark()
/external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/
DDefaultFileUploadWireMockTest.java86 .multipartConfiguration(c -> c.thresholdInBytes(16 * 1024 * 1024L)) in methodSetup()
/external/aws-sdk-java-v2/services/s3/src/it/java/software/amazon/awssdk/services/s3/crt/
DCrtChecksumIntegrationTest.java69 .thresholdInBytes(2L * OBJ_SIZE) in setup()
/external/aws-sdk-java-v2/services/s3/src/test/java/software/amazon/awssdk/services/s3/internal/crt/
DS3CrtAsyncHttpClientTest.java381 .thresholdInBytes(1024L) in build_shouldPassThroughParameters()
/external/aws-sdk-java-v2/changelogs/
D2.20.x-CHANGELOG.md1161 …e upload threshold size for AWS CRT-based S3 client via `S3CrtAsyncClientBuilder#thresholdInBytes`.