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 StringProperty to define Max transferring time in milliseconds before Time Out (must take into account large file and bandwidth)static final StringProperty to define Buffer Size for a Driver Chunkstatic final StringProperty to define if Server will compute SHA 256 on the flystatic final StringFields 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 longstatic Stringstatic Modulestatic intstatic Durationstatic booleanstatic voidstatic booleanstatic voidsetCcsModule(Module module) static voidsetClientResponseTimeOut(long clientResponseTimeOut) static voidsetDriverMaxChunkSize(int driverMaxChunkSize) static voidsetHasDatabase(boolean hasDb) static voidsetServerComputeSha256(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
-