javax.cache.annotation
Annotation Type CachePut


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface CachePut


Optional Element Summary
 boolean afterInvocation
           
 java.lang.Class<? extends java.lang.Throwable>[] cacheFor
           
 java.lang.Class<? extends CacheKeyGenerator> cacheKeyGenerator
           
 java.lang.String cacheName
           
 java.lang.Class<? extends CacheResolverFactory> cacheResolverFactory
           
 java.lang.Class<? extends java.lang.Throwable>[] noCacheFor
           
 

cacheName

public abstract java.lang.String cacheName
Default:
""

afterInvocation

public abstract boolean afterInvocation
Default:
true

cacheResolverFactory

public abstract java.lang.Class<? extends CacheResolverFactory> cacheResolverFactory
Default:
javax.cache.annotation.CacheResolverFactory.class

cacheKeyGenerator

public abstract java.lang.Class<? extends CacheKeyGenerator> cacheKeyGenerator
Default:
javax.cache.annotation.CacheKeyGenerator.class

cacheFor

public abstract java.lang.Class<? extends java.lang.Throwable>[] cacheFor
Default:
{}

noCacheFor

public abstract java.lang.Class<? extends java.lang.Throwable>[] noCacheFor
Default:
{}