com.nepxion.aquarius.cache.CacheDelegate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aquarius-cache-aop Show documentation
Show all versions of aquarius-cache-aop Show documentation
Nepxion Aquarius is a list of distribution components based on Redis + Zookeeper with Nepxion Matrix AOP framework
package com.nepxion.aquarius.cache;
/**
* Title: Nepxion Aquarius
* Description: Nepxion Aquarius
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
import java.util.List;
import org.aopalliance.intercept.MethodInvocation;
public interface CacheDelegate {
// 新增缓存
Object invokeCacheable(MethodInvocation invocation, List keys, long expire) throws Throwable;
// 更新缓存
Object invokeCachePut(MethodInvocation invocation, List keys, long expire) throws Throwable;
// 清除缓存
Object invokeCacheEvict(MethodInvocation invocation, List keys, String name, boolean allEntries, boolean beforeInvocation) throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy