Class RedisClientBuildTimeConfig


  • public class RedisClientBuildTimeConfig
    extends Object
    • Field Detail

      • loadScript

        @ConfigItem(defaultValueDocumentation="import.redis in DEV, TEST ; no-file otherwise")
        @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class)
        public Optional<List<String>> loadScript
        A list of files allowing to pre-load data into the Redis server. The file is formatted as follows:
        • One instruction per line
        • Each instruction is a Redis command and its parameter such as HSET foo field value
        • Parameters can be wrapped into double-quotes if they include spaces
        • Parameters can be wrapped into single-quote if they include spaces
        • Parameters including double-quotes must be wrapped into single-quotes
      • flushBeforeLoad

        @ConfigItem(defaultValue="true")
        public boolean flushBeforeLoad
        When using redisLoadScript, indicates if the Redis database must be flushed (erased) before importing.
      • loadOnlyIfEmpty

        @ConfigItem(defaultValue="true")
        public boolean loadOnlyIfEmpty
        When using redisLoadScript, indicates if the import should only happen if the database is empty (no keys).
    • Constructor Detail

      • RedisClientBuildTimeConfig

        public RedisClientBuildTimeConfig()