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

io.quarkus.cache.CacheManagerInfo Maven / Gradle / Ivy

package io.quarkus.cache;

import java.util.Set;
import java.util.function.Supplier;

public interface CacheManagerInfo {

    boolean supports(Context context);

    Supplier get(Context context);

    interface Context {

        boolean cacheEnabled();

        Metrics metrics();

        String cacheType();

        Set cacheNames();

        enum Metrics {
            NONE,
            MICROMETER
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy