Class S3Options.S3UploadBufferSizeBytesFactory

java.lang.Object
org.apache.beam.sdk.io.aws2.options.S3Options.S3UploadBufferSizeBytesFactory
All Implemented Interfaces:
DefaultValueFactory<Integer>
Enclosing interface:
S3Options

public static class S3Options.S3UploadBufferSizeBytesFactory extends Object implements DefaultValueFactory<Integer>
Provide the default s3 upload buffer size in bytes: 64MB if more than 512MB in RAM are available and 5MB otherwise.
  • Field Details

    • REQUIRED_MEMORY_FOR_DEFAULT_BUFFER_BYTES

      public static final int REQUIRED_MEMORY_FOR_DEFAULT_BUFFER_BYTES
      See Also:
    • MINIMUM_UPLOAD_BUFFER_SIZE_BYTES

      public static final int MINIMUM_UPLOAD_BUFFER_SIZE_BYTES
      See Also:
    • DEFAULT_UPLOAD_BUFFER_SIZE_BYTES

      public static final int DEFAULT_UPLOAD_BUFFER_SIZE_BYTES
      See Also:
  • Constructor Details

    • S3UploadBufferSizeBytesFactory

      public S3UploadBufferSizeBytesFactory()
  • Method Details