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 Cache
channelName
- 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 Cache
public void setStatisticsEnabled(boolean enabled)
setStatisticsEnabled
in interface Cache
public CacheStatistics getStatistics()
getStatistics
in interface Cache
Copyright © 2015. All rights reserved.