Package io.clonecloudstore.driver.s3
Class DriverS3Properties
java.lang.Object
io.clonecloudstore.driver.s3.DriverS3Properties
Configurable values for S3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
MultiPart size (minimum 5 MB, maximum 5 GB, default 256 MB)static final String
static final String
static final String
static final String
MultiPart size (minimum 5 MB, maximum ~2 GB): will be used to buffer InputStream if length is unknown, so take care of the Memory consumption associated (512 MB, default, will limit the total InputStream length to 5 TB since 10K parts)static final String
static final String
static final int
static final long
static final int
static final long
static final int
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
static String
static long
static int
static void
setDynamicPartSize
(long size) Used to change dynamically the setupstatic void
setDynamicPartSizeForUnknownLength
(int size) Used to change dynamically the setupstatic void
setDynamicS3Parameters
(String host, String keyId, String key, String region) Used to change dynamically the setup
-
Field Details
-
MAX_ITEMS
public static final int MAX_ITEMS- See Also:
-
SHA_256
- See Also:
-
CLIENT_ID
- See Also:
-
DEFAULT_MIN_PART_SIZE
public static final int DEFAULT_MIN_PART_SIZE- See Also:
-
DEFAULT_SIZE_NOT_PART
public static final long DEFAULT_SIZE_NOT_PART- See Also:
-
DEFAULT_MAX_SIZE_NOT_PART
public static final long DEFAULT_MAX_SIZE_NOT_PART- See Also:
-
DEFAULT_MAX_PART_SIZE_INT
public static final int DEFAULT_MAX_PART_SIZE_INT- See Also:
-
CCS_DRIVER_S3_HOST
- See Also:
-
CCS_DRIVER_S3_KEY_ID
- See Also:
-
CCS_DRIVER_S3_KEY
- See Also:
-
CCS_DRIVER_S3_REGION
- See Also:
-
CCS_DRIVER_S_3_MAX_PART_SIZE
MultiPart size (minimum 5 MB, maximum 5 GB, default 256 MB)- See Also:
-
CCS_DRIVER_S3_MAX_PART_SIZE_FOR_UNKNOWN_LENGTH
MultiPart size (minimum 5 MB, maximum ~2 GB): will be used to buffer InputStream if length is unknown, so take care of the Memory consumption associated (512 MB, default, will limit the total InputStream length to 5 TB since 10K parts)- See Also:
-
-
Constructor Details
-
DriverS3Properties
-
-
Method Details
-
getDriverS3Host
- Returns:
- S3 Host
-
getDriverS3KeyId
- Returns:
- S3 KeyId
-
getDriverS3Key
- Returns:
- S3 Key
-
getDriverS3Region
- Returns:
- S3 Region
-
getMaxPartSize
public static long getMaxPartSize() -
getMaxPartSizeForUnknownLength
public static int getMaxPartSizeForUnknownLength() -
setDynamicS3Parameters
Used to change dynamically the setup -
setDynamicPartSize
public static void setDynamicPartSize(long size) Used to change dynamically the setup -
setDynamicPartSizeForUnknownLength
public static void setDynamicPartSizeForUnknownLength(int size) Used to change dynamically the setup
-