diff --git a/src/main/java/com/avaje/ebean/cache/ServerCacheType.java b/src/main/java/com/avaje/ebean/cache/ServerCacheType.java new file mode 100644 index 000000000..bdead0c6e --- /dev/null +++ b/src/main/java/com/avaje/ebean/cache/ServerCacheType.java @@ -0,0 +1,27 @@ +package com.avaje.ebean.cache; + +/** + * The type of L2 caches. + */ +public enum ServerCacheType { + + /** + * Bean cache. + */ + BEAN, + + /** + * Natural key cache. + */ + NATURAL_KEY, + + /** + * Collection Ids for Many properties. + */ + COLLECTION_IDS, + + /** + * Query cache. + */ + QUERY +}