Package fish.payara.cdi.jsr107.impl
Annotation Type NamedCache
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class
cacheLoaderFactoryClass
The factory class of the CacheLoader to be attached to the cacheString
cacheName
The name of the Cache in the Cache ManagerClass
cacheWriterFactoryClass
The factory class of the CacheWriter to be attached to the cacheClass
expiryPolicyFactoryClass
The class of the expiry policy factory used to create an expiry policy for the cacheClass
keyClass
The class of the Cache Keysboolean
managementEnabled
Is Managemenet Enabled for the Cacheboolean
readThrough
Is the cache configured for read through.boolean
statisticsEnabled
Are statistics enabled for the cacheClass
valueClass
The class of the cache valuesboolean
writeThrough
Is 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
-
-