public class DefaultAggregationConfigurationCache extends Object
Constructor and Description |
---|
DefaultAggregationConfigurationCache(JDBCConnectionCredentials connectionCredentials,
PrefixMappingCache prefixMappingCache)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
getCachedValue()
Returns the cached value; if the value hasn't been loaded yet, load it and store to cache.
|
protected AggregationSpec |
loadCachedValue()
Load the value to be cached.
|
public DefaultAggregationConfigurationCache(JDBCConnectionCredentials connectionCredentials, PrefixMappingCache prefixMappingCache)
connectionCredentials
- connection settingsprefixMappingCache
- cached prefix mappingprotected AggregationSpec loadCachedValue() throws QueryExecutionException
QueryExecutionException
- errorpublic T getCachedValue() throws QueryExecutionException
QueryExecutionException
- errorCopyright © 2013. All Rights Reserved.