package me.qwq.doghouse.cache;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import me.qwq.doghouse.enums.CacheEvictionSpan;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Repeatable(CacheEvictionTasks.class)
public @interface CacheEvictionTask {

    CacheEvictionSpan value() default CacheEvictionSpan.DAILY;
}
