Package io.clonecloudstore.driver.google
Class DriverGoogleProperties
java.lang.Object
io.clonecloudstore.driver.google.DriverGoogleProperties
Configurable values for Google
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Default is to use Gzip content, but may be disabled (default: true so disabled)static final String
Buffer size (minimum 5 MB, maximum 512 MB, not related with Max Part Size of ~2 GB): will be used to decide which method to use (no memory impact)static final String
MultiPart size (minimum 5 MB, maximum 5 GB, default 256 MB)static final String
static final int
static final long
static final int
static final int
static final long
static final String
static final int
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
Buffer size (minimum 5 MB, maximum 512 MB, not related with Max Part Size of ~2 GB): will be used to buffer InputStream if length is unknown, so take care of the Memory consumption associated (128 MB, default)static long
MultiPart size (minimum 5 MB, maximum 5 GB, default 256 MB)static boolean
Default is to use Gzip content, but may be disabled (default: true so disabled)static void
setDynamicBufSize
(int size) Used to change dynamically the setupstatic void
setDynamicDisableGzip
(boolean disable) Used to change dynamically the setupstatic void
setDynamicPartSize
(long size) Used to change dynamically the setup
-
Field Details
-
SHA_256
- See Also:
-
CLIENT_ID
- See Also:
-
EXPIRY
- See Also:
-
MAX_ITEMS
public static final int MAX_ITEMS- 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_PART_SIZE_INT
public static final int DEFAULT_PART_SIZE_INT- See Also:
-
DEFAULT_MAX_PART_SIZE_INT
public static final int DEFAULT_MAX_PART_SIZE_INT- See Also:
-
CCS_DRIVER_GOOGLE_DISABLE_GZIP
Default is to use Gzip content, but may be disabled (default: true so disabled)- See Also:
-
CCS_DRIVER_GOOGLE_MAX_PART_SIZE
MultiPart size (minimum 5 MB, maximum 5 GB, default 256 MB)- See Also:
-
CCS_DRIVER_GOOGLE_MAX_BUF_SIZE
Buffer size (minimum 5 MB, maximum 512 MB, not related with Max Part Size of ~2 GB): will be used to decide which method to use (no memory impact)- See Also:
-
-
Constructor Details
-
DriverGoogleProperties
-
-
Method Details
-
isGoogleDisableGzip
public static boolean isGoogleDisableGzip()Default is to use Gzip content, but may be disabled (default: true so disabled) -
getMaxPartSize
public static long getMaxPartSize()MultiPart size (minimum 5 MB, maximum 5 GB, default 256 MB) -
getMaxBufSize
public static int getMaxBufSize()Buffer size (minimum 5 MB, maximum 512 MB, not related with Max Part Size of ~2 GB): will be used to buffer InputStream if length is unknown, so take care of the Memory consumption associated (128 MB, default) -
setDynamicPartSize
public static void setDynamicPartSize(long size) Used to change dynamically the setup -
setDynamicBufSize
public static void setDynamicBufSize(int size) Used to change dynamically the setup -
setDynamicDisableGzip
public static void setDynamicDisableGzip(boolean disable) Used to change dynamically the setup
-