public static class JCacheConfig.CacheConfig extends Object
Constructor and Description |
---|
CacheConfig() |
Modifier and Type | Method and Description |
---|---|
long |
getExpiryDuration() |
JCacheConfig.ExpiryPolicy |
getExpiryPolicy() |
Class<? extends javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy>> |
getExpiryPolicyFactory() |
Class<? extends javax.cache.spi.CachingProvider> |
getProvider() |
JCacheConfig.CacheConfig |
setExpiryDuration(long expiryDuration) |
JCacheConfig.CacheConfig |
setExpiryPolicy(JCacheConfig.ExpiryPolicy expiryPolicy) |
JCacheConfig.CacheConfig |
setExpiryPolicyFactory(Class<? extends javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy>> expiryPolicyFactory) |
JCacheConfig.CacheConfig |
setProvider(Class<? extends javax.cache.spi.CachingProvider> provider) |
public Class<? extends javax.cache.spi.CachingProvider> getProvider()
public JCacheConfig.CacheConfig setProvider(Class<? extends javax.cache.spi.CachingProvider> provider)
public JCacheConfig.ExpiryPolicy getExpiryPolicy()
public JCacheConfig.CacheConfig setExpiryPolicy(JCacheConfig.ExpiryPolicy expiryPolicy)
public long getExpiryDuration()
public JCacheConfig.CacheConfig setExpiryDuration(long expiryDuration)
public Class<? extends javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy>> getExpiryPolicyFactory()
public JCacheConfig.CacheConfig setExpiryPolicyFactory(Class<? extends javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy>> expiryPolicyFactory)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.