Package tech.rsqn.cacheservice
Interface TransparentCacheService
-
- All Known Implementing Classes:
DefaultTransparentCacheService
public interface TransparentCacheService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectaroundInvalidateMethodInvocation(org.aopalliance.intercept.MethodInvocation invocation, InterceptorMetadata meta)java.lang.ObjectaroundReadMethodInvocation(org.aopalliance.intercept.MethodInvocation invocation, InterceptorMetadata meta)java.lang.ObjectaroundWriteMethodInvocation(org.aopalliance.intercept.MethodInvocation invocation, InterceptorMetadata meta)longclear()longcount()java.lang.StringgenerateCacheKey(java.lang.Class clazz, java.lang.Object... arguments)<T extends java.io.Serializable>
java.lang.StringgenerateCacheKey(T entity)java.lang.StringgenerateParameterKey(java.lang.Object parameter)java.util.Map<java.lang.String,CacheService>getCaches()java.util.List<java.lang.Class>getSupportedTypes()
-
-
-
Method Detail
-
count
long count()
-
clear
long clear()
-
generateCacheKey
<T extends java.io.Serializable> java.lang.String generateCacheKey(T entity)
-
generateCacheKey
java.lang.String generateCacheKey(java.lang.Class clazz, java.lang.Object... arguments)
-
generateParameterKey
java.lang.String generateParameterKey(java.lang.Object parameter)
-
aroundWriteMethodInvocation
java.lang.Object aroundWriteMethodInvocation(org.aopalliance.intercept.MethodInvocation invocation, InterceptorMetadata meta) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
aroundReadMethodInvocation
java.lang.Object aroundReadMethodInvocation(org.aopalliance.intercept.MethodInvocation invocation, InterceptorMetadata meta) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
aroundInvalidateMethodInvocation
java.lang.Object aroundInvalidateMethodInvocation(org.aopalliance.intercept.MethodInvocation invocation, InterceptorMetadata meta) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSupportedTypes
java.util.List<java.lang.Class> getSupportedTypes()
-
getCaches
java.util.Map<java.lang.String,CacheService> getCaches()
-
-