Class QuarkusProperties
java.lang.Object
io.clonecloudstore.common.standard.properties.StandardProperties
io.clonecloudstore.common.quarkus.properties.QuarkusProperties
- Direct Known Subclasses:
ServiceProperties
Configurable values
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property to define Max transferring time in milliseconds before Time Out (must take into account large file and bandwidth)static final String
Property to define Buffer Size for a Driver Chunkstatic final String
Property to define if Server will compute SHA 256 on the flystatic final String
Fields inherited from class io.clonecloudstore.common.standard.properties.StandardProperties
CCS_BUFFER_SIZE, CCS_MACHINE_ID, CCS_MAX_WAIT_MS, DEFAULT_PIPED_BUFFER_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
static String
static Module
static int
static Duration
static boolean
static void
static boolean
static void
setCcsModule
(Module module) static void
setClientResponseTimeOut
(long clientResponseTimeOut) static void
setDriverMaxChunkSize
(int driverMaxChunkSize) static void
setHasDatabase
(boolean hasDb) static void
setServerComputeSha256
(boolean computeSha256) To change the behavior dynamicallyMethods inherited from class io.clonecloudstore.common.standard.properties.StandardProperties
getBufSize, getCcsMachineId, getMaxWaitMs, getObjectMapper, getVertx, setBufSize, setCdiObjectMapper, setCdiVertx, setMaxWaitMs
-
Field Details
-
CCS_DRIVER_MAX_CHUNK_SIZE
Property to define Buffer Size for a Driver Chunk- See Also:
-
CCS_SERVER_COMPUTE_SHA_256
Property to define if Server will compute SHA 256 on the fly- See Also:
-
CCS_CLIENT_RESPONSE_TIMEOUT
Property to define Max transferring time in milliseconds before Time Out (must take into account large file and bandwidth)- See Also:
-
MODULE_MDC
- See Also:
-
-
Constructor Details
-
QuarkusProperties
protected QuarkusProperties()
-
-
Method Details
-
getDurationResponseTimeout
- Returns:
- The duration before TimeOut occurs except InputStream
-
clientResponseTimeOut
public static long clientResponseTimeOut() -
setClientResponseTimeOut
public static void setClientResponseTimeOut(long clientResponseTimeOut) -
getDriverMaxChunkSize
public static int getDriverMaxChunkSize()- Returns:
- the maximum Chunk Size (Default 512 MB)
-
setDriverMaxChunkSize
public static void setDriverMaxChunkSize(int driverMaxChunkSize) -
getCcsModule
-
setCcsModule
-
hasDatabase
public static boolean hasDatabase() -
setHasDatabase
public static void setHasDatabase(boolean hasDb) -
refreshModuleMdc
public static void refreshModuleMdc() -
serverComputeSha256
public static boolean serverComputeSha256()- Returns:
- True if the server shall compute Sha256 on the fly
-
setServerComputeSha256
public static void setServerComputeSha256(boolean computeSha256) To change the behavior dynamically- Parameters:
computeSha256
- True if the client shall compute Sha256 on the fly
-
confugrationToString
-