| Package | Description |
|---|---|
| javax.cache | |
| org.wso2.carbon.caching.impl |
| Modifier and Type | Field and Description |
|---|---|
static CacheConfiguration.Duration |
CacheConfiguration.Duration.ETERNAL
ETERNAL
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
CacheBuilder<K,V> |
CacheBuilder.setExpiry(CacheConfiguration.ExpiryType type,
CacheConfiguration.Duration duration)
Sets the cache expiration
|
| Modifier and Type | Field and Description |
|---|---|
protected CacheConfiguration.Duration[] |
CacheConfigurationImpl.timeToLive
duration
|
| Modifier and Type | Method and Description |
|---|---|
CacheConfiguration.Duration |
CacheConfigurationImpl.getExpiry(CacheConfiguration.ExpiryType type) |
| Modifier and Type | Method and Description |
|---|---|
CacheBuilder<K,V> |
CacheBuilderImpl.setExpiry(CacheConfiguration.ExpiryType type,
CacheConfiguration.Duration duration) |
| Constructor and Description |
|---|
CacheConfigurationImpl(boolean readThrough,
boolean writeThrough,
boolean storeByValue,
boolean statisticsEnabled,
IsolationLevel isolationLevel,
Mode transactionMode,
CacheConfiguration.Duration[] timeToLive) |
Copyright © 2018 WSO2 Inc. All rights reserved.