| Constructor and Description |
|---|
CacheImpl(CacheConfig defaultConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfig(Parameter p,
CacheConfig config) |
<V extends VType> |
createQuery(String channelName,
Class<V> type,
QueryParameters parameters)
Creates a new
Query. |
void |
flush() |
int |
getCount() |
CacheStatistics |
getStatistics() |
void |
removeConfig(Parameter p) |
void |
setStatisticsEnabled(boolean enabled) |
public CacheImpl(CacheConfig defaultConfig)
public <V extends VType> Query createQuery(String channelName, Class<V> type, QueryParameters parameters)
Query.createQuery in interface CachechannelName - channel to be requested.type - VType of data to be pulled by the query.parameters - QueryParameters.public int getCount()
PVCache.public void addConfig(Parameter p, CacheConfig config)
public void removeConfig(Parameter p)
removeConfig in interface Cachepublic void setStatisticsEnabled(boolean enabled)
setStatisticsEnabled in interface Cachepublic CacheStatistics getStatistics()
getStatistics in interface CacheCopyright © 2015. All rights reserved.