All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.code.config.SegmentConfig Maven / Gradle / Ivy

There is a newer version: 37
Show newest version
package io.quarkus.code.config;

import io.smallrye.config.ConfigMapping;
import java.util.Optional;
import java.util.OptionalInt;

@ConfigMapping(prefix = "io.quarkus.code.segment")
public interface SegmentConfig {
    Optional writeKey();

    OptionalInt flushQueueSize();

    OptionalInt flushIntervalSeconds();

    default String writeKeyForDisplay() {
        return writeKey().filter(s -> !s.isBlank()).orElse("UNDEFINED");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy