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 Link icon

    • CCS_DRIVER_MAX_CHUNK_SIZE Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public static final String MODULE_MDC
      See Also:
  • Constructor Details Link icon

    • QuarkusProperties Link icon

      protected QuarkusProperties()
  • Method Details Link icon

    • getDurationResponseTimeout Link icon

      public static Duration getDurationResponseTimeout()
      Returns:
      The duration before TimeOut occurs except InputStream
    • clientResponseTimeOut Link icon

      public static long clientResponseTimeOut()
    • setClientResponseTimeOut Link icon

      public static void setClientResponseTimeOut(long clientResponseTimeOut)
    • getDriverMaxChunkSize Link icon

      public static int getDriverMaxChunkSize()
      Returns:
      the maximum Chunk Size (Default 512 MB)
    • setDriverMaxChunkSize Link icon

      public static void setDriverMaxChunkSize(int driverMaxChunkSize)
    • getCcsModule Link icon

      public static Module getCcsModule()
    • setCcsModule Link icon

      public static void setCcsModule(Module module)
    • hasDatabase Link icon

      public static boolean hasDatabase()
    • setHasDatabase Link icon

      public static void setHasDatabase(boolean hasDb)
    • refreshModuleMdc Link icon

      public static void refreshModuleMdc()
    • serverComputeSha256 Link icon

      public static boolean serverComputeSha256()
      Returns:
      True if the server shall compute Sha256 on the fly
    • setServerComputeSha256 Link icon

      public static void setServerComputeSha256(boolean computeSha256)
      To change the behavior dynamically
      Parameters:
      computeSha256 - True if the client shall compute Sha256 on the fly
    • confugrationToString Link icon

      public static String confugrationToString()