com.ahyakamil.AKCache.AKCacheSetup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of akcache Show documentation
Show all versions of akcache Show documentation
Simple and powerful caching
package com.ahyakamil.AKCache;
import com.ahyakamil.AKCache.service.RedisCacheService;
import org.aspectj.lang.ProceedingJoinPoint;
public class AKCacheSetup {
public static void setupConnection(String host, int port, String username, String password) {
RedisCacheService.setupConnection(host, port, username, password);
}
public static Object setListener(ProceedingJoinPoint pjp) throws Throwable {
return RedisCacheService.setListener(pjp);
}
public static void renewCache(ProceedingJoinPoint pjp) throws Throwable {
RedisCacheService.renewCache(pjp);
}
}