Package | Description |
---|---|
javax.cache | |
org.wso2.carbon.caching.impl |
Modifier and Type | Method and Description |
---|---|
static CacheConfiguration.ExpiryType |
CacheConfiguration.ExpiryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheConfiguration.ExpiryType[] |
CacheConfiguration.ExpiryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CacheConfiguration.Duration |
CacheConfiguration.getExpiry(CacheConfiguration.ExpiryType type)
Gets the cache's time to live setting,Sets how long cache entries should live.
|
CacheBuilder<K,V> |
CacheBuilder.setExpiry(CacheConfiguration.ExpiryType type,
CacheConfiguration.Duration duration)
Sets the cache expiration
|
Modifier and Type | Method and Description |
---|---|
CacheConfiguration.Duration |
CacheConfigurationImpl.getExpiry(CacheConfiguration.ExpiryType type) |
CacheBuilder<K,V> |
CacheBuilderImpl.setExpiry(CacheConfiguration.ExpiryType type,
CacheConfiguration.Duration duration) |
Copyright © 2015 WSO2 Inc. All rights reserved.