package org.springblade.modules.service;

import com.alicp.jetcache.anno.CacheInvalidate;
import com.alicp.jetcache.anno.CacheRefresh;
import com.alicp.jetcache.anno.CacheType;
import com.alicp.jetcache.anno.CacheUpdate;
import com.alicp.jetcache.anno.Cached;

public interface CCBBusiService {
	@Cached(name="userCache.",cacheType=CacheType.LOCAL, key="#name")
	@CacheRefresh(refresh = 600)   
	public String test(long timout,String name);
	@CacheInvalidate(name = "userCache.", key="args[0]")
	public void delete(String name);
	@CacheUpdate(name="userCache.", key="#name", value="#value")
	public void updateUser(String name,String value);
}
