This commit is contained in:
Redkale
2017-02-24 09:04:16 +08:00
parent d1cfdfa14f
commit 6044f014c7
2 changed files with 10 additions and 10 deletions

View File

@@ -48,7 +48,7 @@ public @interface Cacheable {
/**
* (Optional) 定时自动更新缓存的周期秒数为0表示不做定时更新 大于0表示每经过interval秒后会自动从数据库中拉取数据更新Cache
*
* @return
* @return int
*/
int interval() default 0;
}