#683 - Refactor - rename @CacheTuning to @CacheBeanTuning ... for consistency

This commit is contained in:
Robin Bygrave
2016-04-29 09:48:36 +12:00
parent 5b100e6d37
commit a6d276d4d3
6 changed files with 26 additions and 25 deletions
@@ -1,7 +1,7 @@
package com.avaje.tests.model.basic;
import com.avaje.ebean.annotation.CacheStrategy;
import com.avaje.ebean.annotation.CacheTuning;
import com.avaje.ebean.annotation.CacheBeanTuning;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
@@ -11,7 +11,7 @@ import java.util.List;
@CacheStrategy
@CacheTuning(maxSecsToLive = 45)
@CacheBeanTuning(maxSecsToLive = 45)
@Entity
public class Article extends BasicDomain {
@@ -1,7 +1,7 @@
package com.avaje.tests.model.basic;
import com.avaje.ebean.annotation.CacheStrategy;
import com.avaje.ebean.annotation.CacheTuning;
import com.avaje.ebean.annotation.CacheBeanTuning;
import com.avaje.ebean.annotation.ChangeLog;
import com.avaje.ebean.annotation.ChangeLogInsertMode;
import com.avaje.ebean.annotation.DocStore;
@@ -19,7 +19,7 @@ import javax.validation.constraints.Size;
@ReadAudit
@ChangeLog(inserts = ChangeLogInsertMode.INCLUDE)
@CacheStrategy(readOnly = true)
@CacheTuning(maxSize = 500)
@CacheBeanTuning(maxSize = 500)
@Entity
@Table(name = "o_country")
public class Country {