@@ -0,0 +1,655 @@
+package cn.com.lemon.common.enums.cache;%0A%0A/**%0A * The cache data expiry policy%0A * %3Cp%3E%0A * Set the date during type,When the time is expiry%0A * %0A * @author shellpo shih%0A * @version 1.0%0A */%0Apublic enum EExpiryPolicy %7B%0A%09Accessed(%22accessed%22), Created(%22created%22), Eternal(%22eternal%22), Modified(%22updated%22), Touched(%22touched%22);%0A%09private String title;%0A%0A%09public static EExpiryPolicy valueof(int index) %7B%0A%09%09if (index %3C= EExpiryPolicy.values().length - 1)%0A%09%09%09return EExpiryPolicy.values()%5Bindex%5D;%0A%09%09else%0A%09%09%09throw new ArrayIndexOutOfBoundsException();%0A%09%7D%0A%0A%09private EExpiryPolicy(String title) %7B%0A%09%09this.title = title;%0A%09%7D%0A%0A%09public String getTitle() %7B%0A%09%09return title;%0A%09%7D%0A%0A%7D%0A

add enum