Class QuarkusProperties

java.lang.Object
io.clonecloudstore.common.standard.properties.StandardProperties
io.clonecloudstore.common.quarkus.properties.QuarkusProperties
Direct Known Subclasses:
ServiceProperties

@ApplicationScoped public class QuarkusProperties extends StandardProperties
Configurable values
  • Field Details

    • CCS_DRIVER_MAX_CHUNK_SIZE

      public static final String CCS_DRIVER_MAX_CHUNK_SIZE
      Property to define Buffer Size for a Driver Chunk
      See Also:
    • CCS_SERVER_COMPUTE_SHA_256

      public static final String CCS_SERVER_COMPUTE_SHA_256
      Property to define if Server will compute SHA 256 on the fly
      See Also:
    • CCS_CLIENT_RESPONSE_TIMEOUT

      public static final String 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

      public static final String MODULE_MDC
      See Also:
  • Constructor Details

    • QuarkusProperties

      protected QuarkusProperties()
  • Method Details

    • getDurationResponseTimeout

      public static Duration 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

      public static Module getCcsModule()
    • setCcsModule

      public static void setCcsModule(Module module)
    • 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

      public static String confugrationToString()