Package fish.payara.cdi.jsr107.impl
Annotation Type NamedCache
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ClasscacheLoaderFactoryClassThe factory class of the CacheLoader to be attached to the cacheStringcacheNameThe name of the Cache in the Cache ManagerClasscacheWriterFactoryClassThe factory class of the CacheWriter to be attached to the cacheClassexpiryPolicyFactoryClassThe class of the expiry policy factory used to create an expiry policy for the cacheClasskeyClassThe class of the Cache KeysbooleanmanagementEnabledIs Managemenet Enabled for the CachebooleanreadThroughIs the cache configured for read through.booleanstatisticsEnabledAre statistics enabled for the cacheClassvalueClassThe class of the cache valuesbooleanwriteThroughIs the cache configured for write through.
-
-
-
Element Detail
-
cacheName
String cacheName
The name of the Cache in the Cache Manager- Returns:
- Default:
- ""
-
-
-
keyClass
Class keyClass
The class of the Cache Keys- Returns:
- Default:
- java.lang.Object.class
-
-
-
valueClass
Class valueClass
The class of the cache values- Returns:
- Default:
- java.lang.Object.class
-
-
-
cacheLoaderFactoryClass
Class cacheLoaderFactoryClass
The factory class of the CacheLoader to be attached to the cache- Returns:
- Default:
- java.lang.Object.class
-
-
-
cacheWriterFactoryClass
Class cacheWriterFactoryClass
The factory class of the CacheWriter to be attached to the cache- Returns:
- Default:
- java.lang.Object.class
-
-
-
expiryPolicyFactoryClass
Class expiryPolicyFactoryClass
The class of the expiry policy factory used to create an expiry policy for the cache- Default:
- java.lang.Object.class
-
-