package com.bcxin.tenant.open.domains.components;

import java.util.function.Supplier;

public interface CacheProvider {
    <T> T get(String key, Supplier<T> supplier, Class<T> tClass);

    void delete(String key);

    <T> T get(String key, Class<T> tClass);
}
