001 package com.khubla.pragmatach.framework.annotation;
002
003 import java.lang.annotation.Documented;
004 import java.lang.annotation.ElementType;
005 import java.lang.annotation.Inherited;
006 import java.lang.annotation.Retention;
007 import java.lang.annotation.RetentionPolicy;
008 import java.lang.annotation.Target;
009
010 /**
011 * @author tome
012 */
013 @Documented
014 @Target({ ElementType.TYPE })
015 @Retention(RetentionPolicy.RUNTIME)
016 @Inherited
017 public @interface CacheControl {
018 int maxAge() default -1;
019
020 String policy() default "public";
021
022 int sMaxAge() default -1;
023 }