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

io.quarkus.cache.runtime.CacheInterceptionContext Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.cache.runtime;

import java.util.Collections;
import java.util.List;
import java.util.Objects;

// this should be  but that leads to type pollution
public class CacheInterceptionContext {

    private final List interceptorBindings;
    private final List cacheKeyParameterPositions;

    public CacheInterceptionContext(List interceptorBindings, List cacheKeyParameterPositions) {
        Objects.requireNonNull(interceptorBindings);
        Objects.requireNonNull(cacheKeyParameterPositions);
        this.interceptorBindings = Collections.unmodifiableList(interceptorBindings);
        this.cacheKeyParameterPositions = Collections.unmodifiableList(cacheKeyParameterPositions);
    }

    public List getInterceptorBindings() {
        return interceptorBindings;
    }

    public List getCacheKeyParameterPositions() {
        return cacheKeyParameterPositions;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy