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

pers.clare.polarbearcache.support.CacheDependency Maven / Gradle / Ivy

There is a newer version: 1.2.3-RELEASE
Show newest version
package pers.clare.polarbearcache.support;

import org.springframework.lang.NonNull;

import java.util.function.Function;

public class CacheDependency {
    private final String name;
    private final Boolean allEntries;
    private final Function keyConverter;

    public CacheDependency(@NonNull String name, @NonNull Boolean allEntries, @NonNull Function keyConverter) {
        this.name = name;
        this.allEntries = allEntries;
        this.keyConverter = keyConverter;
    }

    public String getName() {
        return name;
    }

    public Boolean getAllEntries() {
        return allEntries;
    }

    public Function getKeyConverter() {
        return keyConverter;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy