A B C D E F G H I M N P Q R S T U V W

A

AbstractMethodAdapter - class ca.uhn.cache.proxy.impl.AbstractMethodAdapter.
Base implementation of IMethodAdapter.
AbstractMethodAdapter(String, Class[], int, IDataInspector) - Constructor for class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
 
AbstractMethodAdapter(Method, int, IDataInspector) - Constructor for class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
 
AbstractMethodDataSourceHelper - class ca.uhn.cache.impl.AbstractMethodDataSourceHelper.
Base class for the IMethodDataSourceHelper implementors that are meant to be used with methods that return a Collection, Set or array.
AbstractMethodDataSourceHelper() - Constructor for class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
 
AbstractQueryParam - class ca.uhn.cache.impl.AbstractQueryParam.
Base class for all IQueryParam implementations.
AbstractQueryParam(IDimension) - Constructor for class ca.uhn.cache.impl.AbstractQueryParam
 
AbstractSemanticCache - class ca.uhn.cache.impl.AbstractSemanticCache.
TODO: this can change ...
AbstractSemanticCache() - Constructor for class ca.uhn.cache.impl.AbstractSemanticCache
 
add(IDataItem) - Method in interface ca.uhn.cache.IQueryResult
Adds a new item to the data set.
add(IDataItem) - Method in class ca.uhn.cache.impl.QueryResult
 
add(IChunk) - Method in class ca.uhn.cache.internal.impl.ChunkIterator
 
add(Object) - Method in interface ca.uhn.cache.util.IMutableIterator
Adds a single item to the list which this iterator iterates through.
add(Object) - Method in class ca.uhn.cache.util.MutableIterator
 
addField(Field) - Method in class ca.uhn.cache.internal.hibernate.impl.Record
Adds a field to this record.
addParameter(IQueryParam) - Method in interface ca.uhn.cache.IQuery
 
addParameter(IQueryParam) - Method in class ca.uhn.cache.impl.Query
 
addReason(HibernateCacheReasonEnum) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
afterPropertiesSet() - Method in class ca.uhn.cache.impl.ParamSpace
afterPropertiesSet() - Method in class ca.uhn.cache.impl.SelfCachingDataSource
append(IQueryResult) - Method in interface ca.uhn.cache.IQueryResult
Appends the specified query result to the end of this query result.
append(IQueryResult) - Method in class ca.uhn.cache.impl.QueryResult
 

B

buildArguments(IQuery) - Method in interface ca.uhn.cache.IMethodDataSourceHelper
Builds the arguments to be used in the underlying method invocation, corresponding to the provided query.
buildDataItem(Serializable) - Method in class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
Builds a data item from the provided object.
buildId(Serializable) - Method in class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
Builds a unique identifier from the provided object.
buildProjection(Object) - Method in class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
Builds the query that represents the projection of the provided object in the parameter space.
buildQueryResult(Object) - Method in interface ca.uhn.cache.IMethodDataSourceHelper
Builds a query result from the provided object.
buildQueryResult(Object) - Method in class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
Builds a query result from the provided object. A IQueryResult is composed of zero or more IDataItems.

C

CacheCleaner - class ca.uhn.cache.internal.impl.CacheCleaner.
Default implementation of ICacheCleaner.
CacheCleaner(IChunkStore, IChunkPurger, int, IQueryResultStore, float) - Constructor for class ca.uhn.cache.internal.impl.CacheCleaner
 
CacheException - exception ca.uhn.cache.exception.CacheException.
The root class for implementation specific cache exceptions.
CacheException(Throwable) - Constructor for class ca.uhn.cache.exception.CacheException
{@inheritDoc}
CacheException(String, Throwable) - Constructor for class ca.uhn.cache.exception.CacheException
{@inheritDoc}
CacheReasonEnum - class ca.uhn.cache.CacheReasonEnum.
Type safe codes for reasons for caching data.
CacheReasonEnum(String) - Constructor for class ca.uhn.cache.CacheReasonEnum
 
CachingInvocationHandler - class ca.uhn.cache.proxy.CachingInvocationHandler.
InvocationHandler used to make a Proxy cache the results of method calls.
CachingInvocationHandler(Object, IMethodAdapter[], ISemanticCache) - Constructor for class ca.uhn.cache.proxy.CachingInvocationHandler
 
Chunk - class ca.uhn.cache.impl.Chunk.
A block of data that is retrieved and cached together.
Chunk(String, VolatilityEnum, Date, Date, Date, CacheReasonEnum[], IQuery) - Constructor for class ca.uhn.cache.impl.Chunk
 
ChunkBasedSemanticCache - class ca.uhn.cache.impl.ChunkBasedSemanticCache.
Semantic cache implementation that uses the chunk approach described in
ChunkBasedSemanticCache() - Constructor for class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
ChunkField - class ca.uhn.cache.internal.hibernate.impl.ChunkField.
A block of data that is retrieved and cached together.
ChunkField() - Constructor for class ca.uhn.cache.internal.hibernate.impl.ChunkField
Constructor
ChunkIterator - class ca.uhn.cache.internal.impl.ChunkIterator.
Default implementation of IChunkIterator.
ChunkIterator() - Constructor for class ca.uhn.cache.internal.impl.ChunkIterator
New instance.
CommonsLangObject - class ca.uhn.cache.impl.CommonsLangObject.
Class with a default implementations for equals and hashCode and toString, which the use commong-lang EqualsBuilder, HashCodeBuilder and ToStringBuidler.
CommonsLangObject() - Constructor for class ca.uhn.cache.impl.CommonsLangObject
 
CustomEnumEditor - class ca.uhn.cache.internal.spring.CustomEnumEditor.
PropertyEditor for org.apache.commons.lang.enum.Enum.
CustomEnumEditor(Class) - Constructor for class ca.uhn.cache.internal.spring.CustomEnumEditor
Create a new CustomEnumEditor instance, using the given Enum class.
CustomEnumEditor(String) - Constructor for class ca.uhn.cache.internal.spring.CustomEnumEditor
Create a new CustomEnumEditor instance, using the given Enum class name.
ca.uhn.cache - package ca.uhn.cache
 
ca.uhn.cache.exception - package ca.uhn.cache.exception
 
ca.uhn.cache.impl - package ca.uhn.cache.impl
 
ca.uhn.cache.internal - package ca.uhn.cache.internal
 
ca.uhn.cache.internal.exception - package ca.uhn.cache.internal.exception
 
ca.uhn.cache.internal.hibernate - package ca.uhn.cache.internal.hibernate
 
ca.uhn.cache.internal.hibernate.exception - package ca.uhn.cache.internal.hibernate.exception
 
ca.uhn.cache.internal.hibernate.impl - package ca.uhn.cache.internal.hibernate.impl
 
ca.uhn.cache.internal.impl - package ca.uhn.cache.internal.impl
 
ca.uhn.cache.internal.spring - package ca.uhn.cache.internal.spring
 
ca.uhn.cache.internal.util - package ca.uhn.cache.internal.util
 
ca.uhn.cache.proxy - package ca.uhn.cache.proxy
 
ca.uhn.cache.proxy.impl - package ca.uhn.cache.proxy.impl
 
ca.uhn.cache.util - package ca.uhn.cache.util
 
ca.uhn.cache.util.exception - package ca.uhn.cache.util.exception
 
checkCompatibility(IQueryParam, IDimension) - Static method in class ca.uhn.cache.impl.DateParam
 
chunk(IQueryParam) - Method in interface ca.uhn.cache.IParamSpace
TODO: this assumes that chunk sizes along a given dimension are independent of other dimensions, but this may not be feasible.
chunk(IQueryParam) - Method in class ca.uhn.cache.impl.ParamSpace
TODO: this assumes that chunk sizes along a given dimension are independent of other dimensions, but this may not be feasible. For example, possibly sparse data (e.g. ECG should be divided into longer time spans than oft-collected data (e.g. CBC), in order to have an efficient number of data items per chunk. RESOLUTION: allow multiple caches in SelfCachingDataSource
chunk(IQuery, IParamSpace) - Static method in class ca.uhn.cache.util.QueryUtil
 
claimInterest(IQuery, Date, Date, String) - Method in interface ca.uhn.cache.IPreFetchingCache
Indicates that queries within the specified data scope are likely in the near future.
close() - Method in interface ca.uhn.cache.internal.IChunkIterator
Releases any resources held by this iterator.
close() - Method in class ca.uhn.cache.internal.impl.ChunkIterator
Does nothing by default (override if you want to do something here).
close() - Method in interface ca.uhn.cache.util.IMutableIterator
Releases any resources held by this iterator.
close() - Method in class ca.uhn.cache.util.MutableIterator
Does nothing by default.
close() - Method in class ca.uhn.cache.util.MutableMergeableIterator
Closes merged IMutableIterators.
compareTo(Object) - Method in class ca.uhn.cache.VolatilityEnum
Ordering from most to least volatile.
compareTo(Object) - Method in class ca.uhn.cache.impl.AbstractQueryParam
compareTo(Object) - Method in class ca.uhn.cache.internal.hibernate.impl.Field
compatibleWith(IQueryParam) - Method in class ca.uhn.cache.impl.AbstractQueryParam
By default only checks compatibility with other AbstractQueryParam descendents (can be overridden).
copy(Record, Record) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
copy all the attributes except: hibernateId and fields.
copy(Field, Field) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
copy all the attributes except: hibernateId and record.
createField(Record, IPointQueryParam) - Method in interface ca.uhn.cache.internal.hibernate.IQueryParamHelper
Creates an instance of the Field subclass corresponding to the provided IQueryParam.
createField(Record, IPointQueryParam) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
Creates an instance of the Field subclass corresponding to the provided IQueryParam.
createField(Record, IPointQueryParam) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
Creates an instance of the Field subclass corresponding to the provided IQueryParam.
createFieldFrom(Record, IPointQueryParam) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Creates the corresponding Field subclass for the provided IQueryParam.
createInstance(IParamSpaceConfig) - Static method in class ca.uhn.cache.impl.ParamSpace
Factory method.
createRecordFrom(IDataItem) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Creates the corresponding Record for the provided IQuery.
currentTime() - Static method in class ca.uhn.cache.internal.util.UTC
 

D

DataItem - class ca.uhn.cache.impl.DataItem.
Represents an individual item stored by a cache.
DataItem(String, Serializable, IQuery, VolatilityEnum, String) - Constructor for class ca.uhn.cache.impl.DataItem
Constructor
DataItem(String, Serializable, IQuery, VolatilityEnum, Date) - Constructor for class ca.uhn.cache.impl.DataItem
Constructor
DataSourceException - exception ca.uhn.cache.exception.DataSourceException.
The root class for implementation specific data source exceptions.
DataSourceException(Throwable) - Constructor for class ca.uhn.cache.exception.DataSourceException
{@inheritDoc}
DataSourceException(String, Throwable) - Constructor for class ca.uhn.cache.exception.DataSourceException
{@inheritDoc}
DateParam - class ca.uhn.cache.impl.DateParam.
A IPointQueryParam that selects data items with values along a certain dimension exactly equal to a certain Date value.
DateParam(IDimension, Date) - Constructor for class ca.uhn.cache.impl.DateParam
Creates a new DateParam.
DateParamField - class ca.uhn.cache.internal.hibernate.impl.DateParamField.
Hibernate persistable object with xdoclet annotations for DateParam.
DateParamField(Record, DateParam) - Constructor for class ca.uhn.cache.internal.hibernate.impl.DateParamField
Constructs a DateParamField from a source DateParam.
DateParamField() - Constructor for class ca.uhn.cache.internal.hibernate.impl.DateParamField
 
DateParamHelper - class ca.uhn.cache.internal.hibernate.impl.DateParamHelper.
 
DateParamHelper() - Constructor for class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
 
DateRangeParam - class ca.uhn.cache.impl.DateRangeParam.
A IQueryParam encompassing a range of dates.
DateRangeParam(IDimension, Date, Date) - Constructor for class ca.uhn.cache.impl.DateRangeParam
Creates a new DateRangeParam.
DefaultStaleChunkRule - class ca.uhn.cache.internal.impl.DefaultStaleChunkRule.
Default implementation of IStaleChunkRule.
DefaultStaleChunkRule(Map, Map, long) - Constructor for class ca.uhn.cache.internal.impl.DefaultStaleChunkRule
 
DefaultUnusedChunkRule - class ca.uhn.cache.internal.impl.DefaultUnusedChunkRule.
Default implementation of IUnusedChunkRule.
DefaultUnusedChunkRule(Map) - Constructor for class ca.uhn.cache.internal.impl.DefaultUnusedChunkRule
 
Dimension - class ca.uhn.cache.impl.Dimension.
Generic implementation of the IDimension interface.
Dimension(String, Class[]) - Constructor for class ca.uhn.cache.impl.Dimension
Constructs a dimension instance.
dateToTimestamp(Date) - Static method in class ca.uhn.cache.internal.util.TimestampUtils
Converts a date to a time stamp.
declareException(Exception) - Method in interface ca.uhn.cache.util.IMutableIterator
This indicates that an exception has been encountered while populating this iterator.
declareException(Exception) - Method in class ca.uhn.cache.util.MutableIterator
 
declareException(String, Exception) - Method in class ca.uhn.cache.util.QueryProcessor
 
deepCopy(Object) - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum
delete(IQuery) - Method in interface ca.uhn.cache.internal.IQueryResultStore
Removes the data matching the specified query from the store.
delete(IQuery) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Removes the data matching the specified query from the store.
disclaimInterest(Date, String) - Method in interface ca.uhn.cache.IPreFetchingCache
Explicitly indicates that a previously claimed interest in some scope of data is at an end.
dispatch(Object, String, Object) - Static method in class ca.uhn.cache.util.MultiDispatch
Invoked a method in a callee using "double dispatche".
dispatch(Object, String, Object, Object) - Static method in class ca.uhn.cache.util.MultiDispatch
 

E

equals(Object) - Method in class ca.uhn.cache.impl.CommonsLangObject
equals(Object, Object) - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum
equals(Object) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamField
equals(Object) - Method in class ca.uhn.cache.internal.hibernate.impl.Field
equals(Object) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamField
evictStaleChunks() - Method in interface ca.uhn.cache.internal.ICacheCleaner
Removes from the cache any chunks that are older than their maximum age.
evictStaleChunks() - Method in class ca.uhn.cache.internal.impl.CacheCleaner
 
evictUnusedChunks() - Method in interface ca.uhn.cache.internal.ICacheCleaner
Removes from the cache any chunks that are unlikely to be used in the near future, according to getUnusedChunkRule().
evictUnusedChunks() - Method in class ca.uhn.cache.internal.impl.CacheCleaner
 
execute(IQuery[]) - Method in interface ca.uhn.cache.IDataSource
Runs one or more queries against the data source.
execute(IQuery[], Date) - Method in interface ca.uhn.cache.IUnstationaryDataSource
Runs one or more queries against the data source.
execute(IQuery[]) - Method in class ca.uhn.cache.impl.MethodDataSource
Runs one or more queries against the data source.
execute(IQuery[]) - Method in class ca.uhn.cache.impl.SelfCachingDataSource
Note that there is no optimization for sending multiple queries at once (queries are executed in series).

F

Field - class ca.uhn.cache.internal.hibernate.impl.Field.
Base class for all kinds of persistent fields.
Field(Record, String) - Constructor for class ca.uhn.cache.internal.hibernate.impl.Field
 
filter(IQueryResult, IQuery) - Static method in class ca.uhn.cache.util.QueryResultUtil
Filter the query result by applying a query to each element.
finished() - Method in class ca.uhn.cache.internal.impl.ChunkIterator
Must be called when all items have been added.
freeze() - Method in interface ca.uhn.cache.util.IMutableIterator
Called after all add() and merge() calls.
freeze() - Method in class ca.uhn.cache.util.MutableIterator
 
freeze() - Method in class ca.uhn.cache.util.MutableMergeableIterator
Waits until all in-progress merges are complete, then calls super.freeze().
fromCurrentTime(int, int, int) - Static method in class ca.uhn.cache.internal.util.UTC
Time Arithmetic function.
fromCurrentTime(long) - Static method in class ca.uhn.cache.internal.util.UTC
Time Arithmetic function.

G

generateHql(IPointQueryParam, int) - Method in interface ca.uhn.cache.internal.hibernate.IQueryParamHelper
Generates the HQL corresponding to the provided "point" query param.
generateHql(IGroupQueryParam, int) - Method in interface ca.uhn.cache.internal.hibernate.IQueryParamHelper
Generates the HQL corresponding to the provided "point" query param.
generateHql(IPointQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
Generates the HQL corresponding to the provided "point" query param.
generateHql(IGroupQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
Generates the HQL corresponding to the provided "point" query param.
generateHql(IPointQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
Generates the HQL corresponding to the provided "point" query param.
generateHql(IGroupQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
Generates the HQL corresponding to the provided "point" query param.
generateHqlParamMap(IPointQueryParam, int) - Method in interface ca.uhn.cache.internal.hibernate.IQueryParamHelper
Generates a Map of paramName => paramValue corresponding to the provided "point" query param.
generateHqlParamMap(IGroupQueryParam, int) - Method in interface ca.uhn.cache.internal.hibernate.IQueryParamHelper
Generates a Map of paramName => paramValue corresponding to the provided "point" query param.
generateHqlParamMap(IPointQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
Generates a Map of paramName => paramValue corresponding to the provided "point" query param.
generateHqlParamMap(IGroupQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
Generates a Map of paramName => paramValue corresponding to the provided "point" query param.
generateHqlParamMap(IPointQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
Generates a Map of paramName => paramValue corresponding to the provided "point" query param.
generateHqlParamMap(IGroupQueryParam, int) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
Generates a Map of paramName => paramValue corresponding to the provided "point" query param.
get(IQuery) - Method in interface ca.uhn.cache.ISemanticCache
 
get(IQuery) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
get(IQuery) - Method in interface ca.uhn.cache.internal.IChunkStore
 
get(IQuery) - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
 
getArgTypes() - Method in interface ca.uhn.cache.proxy.IMethodAdapter
 
getArgTypes() - Method in class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
 
getArgs(Object[], IQuery) - Method in interface ca.uhn.cache.proxy.IMethodAdapter
Note that the query parameters returned by this method can be more general than necessary, if extraneous data are filtered by includeInResults().
getAsText() - Method in class ca.uhn.cache.internal.spring.CustomEnumEditor
 
getBoundaries() - Method in class ca.uhn.cache.impl.Chunk
 
getBoundaries() - Method in interface ca.uhn.cache.internal.IChunk
 
getBoundaries() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getCacheTime() - Method in class ca.uhn.cache.impl.Chunk
 
getCacheTime() - Method in interface ca.uhn.cache.internal.IChunk
 
getCacheTime() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getChunkBoundaries(IDimension) - Method in interface ca.uhn.cache.internal.IParamSpaceConfig
This method is only meaningful along dimensions for which isChunked() returns true.
getChunkBoundaries(IDimension) - Method in class ca.uhn.cache.internal.impl.ParamSpaceConfig
This method is only meaningful along dimensions for which isChunked() returns true.
getChunkStore() - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
getCombinedResult() - Method in class ca.uhn.cache.util.QueryProcessor
Blocks until a result is available or an exception is encountered.
getDataInspector() - Method in interface ca.uhn.cache.proxy.IMethodAdapter
 
getDataInspector() - Method in class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
 
getDataItemId() - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
getDataSource() - Method in class ca.uhn.cache.impl.SelfCachingDataSource
The underlying data source.
getDimension() - Method in interface ca.uhn.cache.IQueryParam
 
getDimension() - Method in class ca.uhn.cache.impl.AbstractQueryParam
 
getDimensionName() - Method in class ca.uhn.cache.internal.hibernate.impl.Field
 
getDimensions() - Method in interface ca.uhn.cache.IParamSpace
 
getDimensions() - Method in class ca.uhn.cache.impl.ParamSpace
getDimensions() - Method in interface ca.uhn.cache.internal.IParamSpaceConfig
 
getDimensions() - Method in class ca.uhn.cache.internal.impl.ParamSpaceConfig
getDistance(IQueryParam, IQueryParam) - Method in interface ca.uhn.cache.IQueryParam
 
getDistance(IQueryParam, IQueryParam) - Method in class ca.uhn.cache.impl.DateParam
 
getDistance(long, long) - Static method in class ca.uhn.cache.impl.DateParam
 
getDistance(IQueryParam, IQueryParam) - Method in class ca.uhn.cache.impl.DateRangeParam
 
getDistance(IQueryParam, IQueryParam) - Method in class ca.uhn.cache.impl.StringParam
Strings are treated as unordered uncategories rather than as with alphabetical order.
getDistance(IQueryParam, IQueryParam) - Method in class ca.uhn.cache.impl.StringSetParam
Strings are treated as unordered uncategories rather than as with alphabetical order.
getEarliestCacheTime(IQuery) - Method in interface ca.uhn.cache.ISemanticCache
 
getEarliestCacheTime(IQuery) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
TODO: optimize!!
getEnd() - Method in class ca.uhn.cache.impl.DateRangeParam
 
getEnum(String) - Static method in class ca.uhn.cache.CacheReasonEnum
 
getEnum(String) - Static method in class ca.uhn.cache.VolatilityEnum
 
getEnumList() - Static method in class ca.uhn.cache.CacheReasonEnum
 
getEnumList() - Static method in class ca.uhn.cache.VolatilityEnum
 
getExpiryTime() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getFieldClass() - Method in interface ca.uhn.cache.internal.hibernate.IQueryParamHelper
 
getFieldClass() - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamHelper
getFieldClass() - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
getFields() - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
getHibernateId() - Method in class ca.uhn.cache.internal.hibernate.impl.HibernateObject
 
getId() - Method in interface ca.uhn.cache.IDataItem
 
getId() - Method in class ca.uhn.cache.impl.Chunk
 
getId() - Method in class ca.uhn.cache.impl.DataItem
getId() - Method in interface ca.uhn.cache.internal.IChunk
 
getInstance(IDimension, String, String) - Static method in class ca.uhn.cache.impl.DateRangeParam
Factory method for DateRangeParam.
getInstance() - Method in class ca.uhn.cache.impl.MethodDataSource
 
getLastAccessTime() - Method in class ca.uhn.cache.impl.Chunk
 
getLastAccessTime() - Method in interface ca.uhn.cache.internal.IChunk
 
getLastAccessTime() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getLastUpdate() - Method in interface ca.uhn.cache.IDataItem
 
getLastUpdate() - Method in class ca.uhn.cache.impl.DataItem
getLastUpdate() - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
getLastUpdateTime(Serializable) - Method in class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
 
getLastUpdateTime() - Method in class ca.uhn.cache.impl.Chunk
 
getLastUpdateTime() - Method in interface ca.uhn.cache.internal.IChunk
 
getLastUpdateTime() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getLevel() - Method in class ca.uhn.cache.VolatilityEnum
 
getLowestVogueness() - Method in interface ca.uhn.cache.internal.IChunkPurger
 
getLowestVogueness() - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
getMaxAge(IChunk) - Method in interface ca.uhn.cache.internal.IStaleChunkRule
 
getMaxAge(IChunk) - Method in class ca.uhn.cache.internal.impl.DefaultStaleChunkRule
 
getMaxGroups() - Method in interface ca.uhn.cache.proxy.IMethodAdapter
 
getMaxGroups() - Method in class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
 
getMaxQueryGroups() - Method in class ca.uhn.cache.impl.SelfCachingDataSource
 
getMethod() - Method in class ca.uhn.cache.impl.MethodDataSource
 
getMethodDataSourceHelper() - Method in class ca.uhn.cache.impl.MethodDataSource
 
getMethodName() - Method in interface ca.uhn.cache.proxy.IMethodAdapter
 
getMethodName() - Method in class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
 
getName() - Method in interface ca.uhn.cache.IDimension
 
getName() - Method in class ca.uhn.cache.impl.Dimension
getNumCachedItems() - Method in interface ca.uhn.cache.internal.IChunkPurger
 
getNumCachedItems() - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
getParamByDimension(IDimension) - Method in interface ca.uhn.cache.IQuery
 
getParamByDimension(IDimension) - Method in class ca.uhn.cache.impl.Query
getParamSpace() - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
getParamSpace() - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
 
getParamSpaceConfig() - Method in class ca.uhn.cache.impl.ParamSpace
 
getParamTypes() - Method in interface ca.uhn.cache.IDimension
 
getParamTypes() - Method in class ca.uhn.cache.impl.Dimension
getParameters() - Method in interface ca.uhn.cache.IQuery
 
getParameters() - Method in class ca.uhn.cache.impl.Query
 
getParamsFromArgs(Object[]) - Method in interface ca.uhn.cache.proxy.IMethodAdapter
 
getPointParamClass() - Method in interface ca.uhn.cache.IGroupQueryParam
 
getPointParamClass() - Method in class ca.uhn.cache.impl.AbstractQueryParam
 
getPointParamClass() - Method in class ca.uhn.cache.impl.DateRangeParam
 
getPointParamClass() - Method in class ca.uhn.cache.impl.StringSetParam
 
getProjection() - Method in interface ca.uhn.cache.IDataItem
 
getProjection() - Method in class ca.uhn.cache.impl.DataItem
 
getQuery() - Method in class ca.uhn.cache.exception.QueryResultRetrievalCacheException
 
getQuery() - Method in class ca.uhn.cache.exception.QueryResultStorageCacheException
 
getQueryHash() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getQueryParamHelper(IQueryParam) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Retrieves the IQueryParamHelper corresponding to the provided query param.
getQueryResult() - Method in class ca.uhn.cache.exception.QueryResultStorageCacheException
 
getQueryResultStore() - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
getReason(Object[]) - Method in interface ca.uhn.cache.proxy.IMethodAdapter
 
getReason(Object[]) - Method in class ca.uhn.cache.proxy.impl.AbstractMethodAdapter
Defaults to CacheReasonEnum.QUERY.
getReasons() - Method in class ca.uhn.cache.impl.Chunk
 
getReasons() - Method in interface ca.uhn.cache.internal.IChunk
 
getReasons() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getRecord() - Method in class ca.uhn.cache.internal.hibernate.impl.Field
 
getRemainderQueries() - Method in class ca.uhn.cache.util.QueryProcessor
 
getSaturationPoint(IDimension) - Method in interface ca.uhn.cache.internal.IParamSpaceConfig
For ordered dimensions, the distances between their members is important.
getSaturationPoint(IDimension) - Method in class ca.uhn.cache.internal.impl.ParamSpaceConfig
For ordered dimensions, the distances between their members is important. Distances (see IQueryParam.getDistance()) are normalized to between zero and 1. The distance corresponding to 1 is configurable. For example a time dimension may have a relevant range over the last week or the last 20 years. In the first case, a difference of a week would correspond to a distance of 1, and in the second case a difference of 20 years would correspond to 1.
getSemanticCache() - Method in class ca.uhn.cache.impl.SelfCachingDataSource
 
getStaleChunkRule() - Method in interface ca.uhn.cache.internal.IChunkStore
 
getStaleChunkRule() - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
getStaleChunks() - Method in interface ca.uhn.cache.internal.IChunkPurger
Implementation hint: to avoid doing a calculation during the query, store chunk with its expiry time, not its max age, and implement this method as "select chunks where expiry time earlier than now".
getStaleChunks() - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
Implementation hint: to avoid doing a calculation during the query, store chunk with its expiry time, not its max age, and implement this method as "select chunks where expiry time earlier than now".
getStart() - Method in class ca.uhn.cache.impl.DateRangeParam
 
getTargetSize() - Method in interface ca.uhn.cache.internal.ICacheCleaner
 
getTargetSize() - Method in class ca.uhn.cache.internal.impl.CacheCleaner
 
getUnusedChunks(long) - Method in interface ca.uhn.cache.internal.IChunkPurger
Returns chunks that have not been accessed recently.
getUnusedChunks(long) - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
Returns chunks that have not been accessed recently. Specifically, those for which vogueness < theVoguenessThreshold. Recall from IUnusedChunkRule that vogueness = last access time + modifier. Implementation hint: to avoid doing a calculation during the query, store the modified version of last access time, and implement this method as "select chunks where mod_last_access earlier than theMaxAccessTime".
getUpdateBoundary() - Method in class ca.uhn.cache.util.UnstationaryQueryProcessor
 
getValue() - Method in interface ca.uhn.cache.IDataItem
 
getValue() - Method in class ca.uhn.cache.impl.DataItem
 
getValue() - Method in class ca.uhn.cache.impl.DateParam
 
getValue() - Method in class ca.uhn.cache.impl.StringParam
 
getValue() - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamField
 
getValue() - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
getValue() - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamField
 
getValues(IQueryParam) - Static method in class ca.uhn.cache.impl.StringSetParam
 
getValues() - Method in class ca.uhn.cache.impl.StringSetParam
 
getVoguenessModifier(IChunk) - Method in interface ca.uhn.cache.internal.IUnusedChunkRule
For use with the least-recently-used (LRU) mode of cache eviction.
getVoguenessModifier(IChunk) - Method in class ca.uhn.cache.internal.impl.DefaultUnusedChunkRule
 
getVolatility() - Method in interface ca.uhn.cache.IDataItem
 
getVolatility(Serializable) - Method in class ca.uhn.cache.impl.AbstractMethodDataSourceHelper
 
getVolatility() - Method in class ca.uhn.cache.impl.Chunk
 
getVolatility() - Method in class ca.uhn.cache.impl.DataItem
 
getVolatility() - Method in interface ca.uhn.cache.internal.IChunk
 
getVolatility() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
getVolatility() - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
group(IQuery[], int) - Method in interface ca.uhn.cache.IParamSpace
Given a list of queries, finds a small set of queries that includes all of them, without including too many queries that aren't in the list.
group(IQuery[], int) - Method in class ca.uhn.cache.impl.ParamSpace
Given a list of queries, finds a small set of queries that includes all of them, without including too many queries that aren't in the list. There may be a trade-off between number of queries returned and extra queries included. For example, one query could be returned for each original query, in which case no extra queries would be included. On the other hand a single query could be returnd which covers the whole IParamSpace. Good solutions lie somewhere between these extremes.

H

HibernateCacheReasonEnum - class ca.uhn.cache.internal.hibernate.HibernateCacheReasonEnum.
Persistent class that allows Hibernate to persist CacheReasonEnum instances.
HibernateCacheReasonEnum() - Constructor for class ca.uhn.cache.internal.hibernate.HibernateCacheReasonEnum
 
HibernateChunkStore - class ca.uhn.cache.internal.impl.HibernateChunkStore.
Hibernate-based implementation of IChunkStore
HibernateChunkStore(IStaleChunkRule) - Constructor for class ca.uhn.cache.internal.impl.HibernateChunkStore
Constructor.
HibernateEnum - class ca.uhn.cache.internal.hibernate.HibernateEnum.
Used to allow Hibernate to persist Jakarta Commons Enums.
HibernateEnum(Class) - Constructor for class ca.uhn.cache.internal.hibernate.HibernateEnum
 
HibernateObject - class ca.uhn.cache.internal.hibernate.impl.HibernateObject.
Base class for all persistent classes.
HibernateObject() - Constructor for class ca.uhn.cache.internal.hibernate.impl.HibernateObject
 
HibernateQueryResultStore - class ca.uhn.cache.internal.impl.HibernateQueryResultStore.
Hibernate implementation of IQueryResultStore.
HibernateQueryResultStore() - Constructor for class ca.uhn.cache.internal.impl.HibernateQueryResultStore
 
HibernateQueryResultStoreException - exception ca.uhn.cache.internal.hibernate.exception.HibernateQueryResultStoreException.
Thrown by the methods of the class HibernateQueryResultStore when an exception thrown by Hibernate is captured.
HibernateQueryResultStoreException(Throwable) - Constructor for class ca.uhn.cache.internal.hibernate.exception.HibernateQueryResultStoreException
{@inheritDoc}
HibernateQueryResultStoreException(String, Throwable) - Constructor for class ca.uhn.cache.internal.hibernate.exception.HibernateQueryResultStoreException
{@inheritDoc}
HibernateVolatilityEnum - class ca.uhn.cache.internal.hibernate.HibernateVolatilityEnum.
Persistent class that allows Hibernate to persist VolatilityEnum instances.
HibernateVolatilityEnum() - Constructor for class ca.uhn.cache.internal.hibernate.HibernateVolatilityEnum
 
hasNext() - Method in interface ca.uhn.cache.internal.IChunkIterator
 
hasNext() - Method in class ca.uhn.cache.internal.impl.ChunkIterator
 
hasNext() - Method in class ca.uhn.cache.util.MutableIterator
 
hashCode() - Method in class ca.uhn.cache.impl.CommonsLangObject
hashCode() - Method in class ca.uhn.cache.impl.DataItem
hashCode() - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamField
hashCode() - Method in class ca.uhn.cache.internal.hibernate.impl.Field
hashCode() - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamField

I

ICacheCleaner - interface ca.uhn.cache.internal.ICacheCleaner.
Responsible for cleaning two kinds of records out of a ChunkBasedCache: records that are likely to be out of date (stale), and (if the cache is too full) records that are not likely to be accessed in the near future.
IChunk - interface ca.uhn.cache.internal.IChunk.
A block of data that is retrieved and cached together.
IChunkIterator - interface ca.uhn.cache.internal.IChunkIterator.
Iterator through a list of IChunks.
IChunkPurger - interface ca.uhn.cache.internal.IChunkPurger.
Temporary interface to cache store for purging data.
IChunkStore - interface ca.uhn.cache.internal.IChunkStore.
A Map like interface to store IChunks.
IDataInspector - interface ca.uhn.cache.proxy.IDataInspector.
A IDataInspector is a helper that knows about a certain result class and is able to tell a ISemanticCache important things about results of that class.
IDataItem - interface ca.uhn.cache.IDataItem.
Represents an individual item stored by a cache.
IDataSource - interface ca.uhn.cache.IDataSource.
Encapsulates a source of data, for example an original source of data that are to be cached, or a caching proxy around such a data source.
IDimension - interface ca.uhn.cache.IDimension.
An axis of a IParamSpace, along which data are divided into IChunks.
IDynamicSemanticCache - interface ca.uhn.cache.IDynamicSemanticCache.
DO NOT IMPLEMENT.
IGroupQueryParam - interface ca.uhn.cache.IGroupQueryParam.
A IPointQueryParam that selects data items with values along a certain dimension which intersects a certain "group" of value.
IListeningMethodAdapter - interface ca.uhn.cache.proxy.IListeningMethodAdapter.
An extension of IMethodAdapter to handle methods in which results are returned to the caller via a listener instead of as a return value.
IListeningMethodAdapter.ResultListener - interface ca.uhn.cache.proxy.IListeningMethodAdapter.ResultListener.
A generic listener for query results.
IMethodAdapter - interface ca.uhn.cache.proxy.IMethodAdapter.
Adapts the arguments and return values of a particular Java method to work with a ISemanticCache.
IMethodDataSourceHelper - interface ca.uhn.cache.IMethodDataSourceHelper.
Adapts the arguments and return values of a particular Java method to work with a IDataSource.
IMutableIterator - interface ca.uhn.cache.util.IMutableIterator.
An extension of Iterator that allows additions during iteration.
IMutableMergeableIterator - interface ca.uhn.cache.util.IMutableMergeableIterator.
An extension of IMutableIterator with a convenience method for merging multiple iterators.
IParamSpace - interface ca.uhn.cache.IParamSpace.
A multi-dimensional space of IQueryParams.
IParamSpaceConfig - interface ca.uhn.cache.internal.IParamSpaceConfig.
Configuration data for a ParamSpace.
IPointQueryParam - interface ca.uhn.cache.IPointQueryParam.
A IPointQueryParam that selects data items with values along a certain dimension exactly equal to a certain "single" value.
IPreFetchingCache - interface ca.uhn.cache.IPreFetchingCache.
TODO: this should extend IDataSource, not ISemanticCache.
IQuery - interface ca.uhn.cache.IQuery.
Represents a conjunction of IQueryParams that scopes a set of results.
IQueryParam - interface ca.uhn.cache.IQueryParam.
A query parameter that is relevant for caching, i.e.
IQueryParamHelper - interface ca.uhn.cache.internal.hibernate.IQueryParamHelper.
Factory like class that acts as a helper to be used by the HibernateQueryResultStore to create Field subclasses and generate the hibernate HQL corresponding to IQueryParams.
IQueryResult - interface ca.uhn.cache.IQueryResult.
Represents a set of IDataItem s that correspond to a query.
IQueryResultStore - interface ca.uhn.cache.internal.IQueryResultStore.
Responsible for storing IQueryResults.
ISemanticCache - interface ca.uhn.cache.ISemanticCache.
A ISemanticCache keeps rapidly available copies of data in some underlying system.
IStaleChunkRule - interface ca.uhn.cache.internal.IStaleChunkRule.
Determiner of whether a chunk is likely to be out of synch with changes to original data.
IUnstationaryDataSource - interface ca.uhn.cache.IUnstationaryDataSource.
An extension of IDataSource that allows unstationary data.
IUnusedChunkRule - interface ca.uhn.cache.internal.IUnusedChunkRule.
Determiner of how likely it is that a chunk will be used in the near future.
includeInResults(Object, Object[]) - Method in interface ca.uhn.cache.proxy.IMethodAdapter
The cache may return more data than needed.
init() - Method in class ca.uhn.cache.util.QueryProcessor
Performs startup tasks (called by constructor).
init() - Method in class ca.uhn.cache.util.UnstationaryQueryProcessor
Does nothing (over-rides default of starting cache query ...
insert(IQueryResult) - Method in interface ca.uhn.cache.internal.IQueryResultStore
Stores the given query result.
insert(IQueryResult) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Stores the given query result.
intersects(IQueryParam) - Method in interface ca.uhn.cache.IQueryParam
 
intersects(IQueryParam) - Method in class ca.uhn.cache.impl.AbstractQueryParam
intersects(IQueryParam) - Method in class ca.uhn.cache.impl.DateParam
intersects(IQueryParam) - Method in class ca.uhn.cache.impl.DateRangeParam
 
intersects(IQueryParam) - Method in class ca.uhn.cache.impl.StringParam
intersects(IQueryParam) - Method in class ca.uhn.cache.impl.StringSetParam
intersects(StringSetParam, StringSetParam) - Static method in class ca.uhn.cache.impl.StringSetParam
 
invoke(Object, Method, Object[]) - Method in class ca.uhn.cache.proxy.CachingInvocationHandler
 
isChunked(IDimension) - Method in interface ca.uhn.cache.internal.IParamSpaceConfig
True iff data are split into a known list of chunks along this dimension (the usual case).
isChunked(IDimension) - Method in class ca.uhn.cache.internal.impl.ParamSpaceConfig
True iff data are split into a known list of chunks along this dimension (the usual case). If true, then getChunkBoundaries() must return a list of the boundaries of chunks along this dimension. Dimensions are not always chunked. For example a dimension may correspond to a large, volatile list of values such as person IDs. It would not be efficient to provide a complete list of (possibly millions of) chunk boundaries for such dimensions, or to iterate through them to see which ones are intersected by a query. For such dimensions it is assumed that any valid IQueryParam corresponds to a chunk. For example in an employee ID dimension, it might make sense to have each chunk encompass exactly one ID, in which case this method would return false.
isEmpty() - Method in interface ca.uhn.cache.IQuery
 
isEmpty() - Method in interface ca.uhn.cache.IQueryResult
 
isEmpty() - Method in class ca.uhn.cache.impl.Query
isEmpty() - Method in class ca.uhn.cache.impl.QueryResult
 
isMutable() - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum
iterator() - Method in interface ca.uhn.cache.IQueryResult
 
iterator() - Method in class ca.uhn.cache.impl.QueryResult
 

M

MethodDataSource - class ca.uhn.cache.impl.MethodDataSource.
IDataSource implementation backed by a method invocation.
MethodDataSource() - Constructor for class ca.uhn.cache.impl.MethodDataSource
 
MethodDataSourceIllegalAccessException - exception ca.uhn.cache.exception.MethodDataSourceIllegalAccessException.
Thrown by the MethodDataSource class when an instance of IllegalAccessException is captured.
MethodDataSourceIllegalAccessException(IllegalAccessException) - Constructor for class ca.uhn.cache.exception.MethodDataSourceIllegalAccessException
{@inheritDoc}
MethodDataSourceIllegalAccessException(String, IllegalAccessException) - Constructor for class ca.uhn.cache.exception.MethodDataSourceIllegalAccessException
{@inheritDoc}
MethodDataSourceInvocationTargetException - exception ca.uhn.cache.exception.MethodDataSourceInvocationTargetException.
Thrown by the MethodDataSource class when an instance of InvocationTargetException is captured.
MethodDataSourceInvocationTargetException(InvocationTargetException) - Constructor for class ca.uhn.cache.exception.MethodDataSourceInvocationTargetException
{@inheritDoc}
MethodDataSourceInvocationTargetException(String, InvocationTargetException) - Constructor for class ca.uhn.cache.exception.MethodDataSourceInvocationTargetException
{@inheritDoc}
MultiDispatch - class ca.uhn.cache.util.MultiDispatch.
Implements double-dispatching using reflection.
MutableIterator - class ca.uhn.cache.util.MutableIterator.
Default implementation of IMutableIterator.
MutableIterator() - Constructor for class ca.uhn.cache.util.MutableIterator
New instance.
MutableIteratorException - exception ca.uhn.cache.util.exception.MutableIteratorException.
Contains an exception that was encountered while filling an IMutableIterator (e.g.
MutableIteratorException(String, Throwable) - Constructor for class ca.uhn.cache.util.exception.MutableIteratorException
 
MutableIteratorException(Throwable) - Constructor for class ca.uhn.cache.util.exception.MutableIteratorException
 
MutableMergeableIterator - class ca.uhn.cache.util.MutableMergeableIterator.
Default implementation of IMutableMergeableIterator.
MutableMergeableIterator(Executor) - Constructor for class ca.uhn.cache.util.MutableMergeableIterator
 
MutableMergeableIterator() - Constructor for class ca.uhn.cache.util.MutableMergeableIterator
New instance with default Executor.
merge(IQueryParam) - Method in interface ca.uhn.cache.IQueryParam
 
merge(IQueryParam) - Method in class ca.uhn.cache.impl.DateParam
 
merge(IQueryParam) - Method in class ca.uhn.cache.impl.DateRangeParam
 
merge(IQueryParam) - Method in class ca.uhn.cache.impl.StringParam
 
merge(IQueryParam) - Method in class ca.uhn.cache.impl.StringSetParam
 
merge(Iterator) - Method in interface ca.uhn.cache.util.IMutableMergeableIterator
Incorporates the contents of the given iterator into this one.
merge(Iterator) - Method in class ca.uhn.cache.util.MutableMergeableIterator
 

N

next() - Method in interface ca.uhn.cache.internal.IChunkIterator
 
next() - Method in class ca.uhn.cache.internal.impl.ChunkIterator
 
next() - Method in class ca.uhn.cache.util.MutableIterator
 
nullSafeGet(ResultSet, String[], Object) - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum
nullSafeSet(PreparedStatement, Object, int) - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum

P

PRE_FETCH - Static variable in class ca.uhn.cache.CacheReasonEnum
Describes cached data that are in the cache because they have been pre-fetched.
ParamSpace - class ca.uhn.cache.impl.ParamSpace.
A multi-dimensional space of IQueryParams.
ParamSpace() - Constructor for class ca.uhn.cache.impl.ParamSpace
 
ParamSpaceConfig - class ca.uhn.cache.internal.impl.ParamSpaceConfig.
Default implementation of IParamSpaceConfig.
ParamSpaceConfig(IDimension[], IQueryParam[], IQueryParam[]) - Constructor for class ca.uhn.cache.internal.impl.ParamSpaceConfig
Constructs ParamSpaceConfig.
put(IQuery, IQueryResult) - Method in interface ca.uhn.cache.ISemanticCache
 
put(IQuery, IQueryResult) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
put(IQuery, VolatilityEnum, CacheReasonEnum[]) - Method in interface ca.uhn.cache.internal.IChunkStore
Places a IChunk corresponding to the specified IQuery in this IChunkStore.
put(IQuery, VolatilityEnum, CacheReasonEnum[]) - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
Places a IChunk corresponding to the specified IQuery in this IChunkStore.

Q

QUERY - Static variable in class ca.uhn.cache.CacheReasonEnum
Describes cached data that are in the cache because they have been queried by a user.
Query - class ca.uhn.cache.impl.Query.
Generic implementation of the IQuery interface.
Query() - Constructor for class ca.uhn.cache.impl.Query
Creates an empty query.
Query(IQueryParam[]) - Constructor for class ca.uhn.cache.impl.Query
Creates a query with the provided parameters.
QueryProcessor - class ca.uhn.cache.util.QueryProcessor.
TODO: TESTS Ecapsulates the common caching algorithm of querying a cache, getting a remainder, querying the original data source, and combining the results.
QueryProcessor(IQuery, ISemanticCache, int, Executor) - Constructor for class ca.uhn.cache.util.QueryProcessor
Constructor for STATIONARY DATA ONLY.
QueryResult - class ca.uhn.cache.impl.QueryResult.
TODO complete javadoc for TODO in future versions these might not be full when they are returned (although this isn't supported now).
QueryResult() - Constructor for class ca.uhn.cache.impl.QueryResult
Constructs an empty query result.
QueryResult(Set) - Constructor for class ca.uhn.cache.impl.QueryResult
Constructs query result with the specified data items.
QueryResultRetrievalCacheException - exception ca.uhn.cache.exception.QueryResultRetrievalCacheException.
Thrown when an error occurs while retrieving the IQueryResult associated with an IQuery.
QueryResultRetrievalCacheException(Throwable, IQuery) - Constructor for class ca.uhn.cache.exception.QueryResultRetrievalCacheException
{@inheritDoc}
QueryResultRetrievalCacheException(String, Throwable, IQuery) - Constructor for class ca.uhn.cache.exception.QueryResultRetrievalCacheException
{@inheritDoc}
QueryResultStorageCacheException - exception ca.uhn.cache.exception.QueryResultStorageCacheException.
Thrown when an error occurs while storing the association of an IQueryResult with an IQuery.
QueryResultStorageCacheException(Throwable, IQuery, IQueryResult) - Constructor for class ca.uhn.cache.exception.QueryResultStorageCacheException
{@inheritDoc}
QueryResultStorageCacheException(String, Throwable, IQuery, IQueryResult) - Constructor for class ca.uhn.cache.exception.QueryResultStorageCacheException
{@inheritDoc}
QueryResultStoreException - exception ca.uhn.cache.internal.exception.QueryResultStoreException.
The root class for implementation specific query result store exceptions.
QueryResultStoreException(Throwable) - Constructor for class ca.uhn.cache.internal.exception.QueryResultStoreException
{@inheritDoc}
QueryResultStoreException(String, Throwable) - Constructor for class ca.uhn.cache.internal.exception.QueryResultStoreException
{@inheritDoc}
QueryResultStoreException(String) - Constructor for class ca.uhn.cache.internal.exception.QueryResultStoreException
{@inheritDoc}
QueryResultUtil - class ca.uhn.cache.util.QueryResultUtil.
Provides utility methods for IQueryResult instances.
QueryUtil - class ca.uhn.cache.util.QueryUtil.
Provides utility methods for IQuery instances.

R

Record - class ca.uhn.cache.internal.hibernate.impl.Record.
Represents a persistent IDataItem.
Record() - Constructor for class ca.uhn.cache.internal.hibernate.impl.Record
 
registerQueryParamToQueryParamHelper(Class, IQueryParamHelper) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Registers the mapping between an IQueryParam and the corresponding Field subclass.
remainder(IQuery, int) - Method in interface ca.uhn.cache.ISemanticCache
Given an IQuery, find a small list of new IQuery that span all the data in the original IQuery that are not present in the cache.
remainder(IQuery, int) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
Given an IQuery, find a small list of new IQuery that span all the data in the original IQuery that are not present in the cache. Some extra data may (i.e. data in the cache or data not requested) may be spaned. Generally there is a trade-off between extra data and number of new queries returned.
remove(IQuery) - Method in interface ca.uhn.cache.internal.IChunkStore
Removes the mapping for this query from this IChunkStore if it is present
remove(IQuery) - Method in class ca.uhn.cache.internal.impl.HibernateChunkStore
Removes the mapping for this query from this IChunkStore if it is present
remove() - Method in class ca.uhn.cache.util.MutableIterator
 
replaceListener(Object[], IListeningMethodAdapter.ResultListener) - Method in interface ca.uhn.cache.proxy.IListeningMethodAdapter
 
resultAvailable(Object) - Method in interface ca.uhn.cache.proxy.IListeningMethodAdapter.ResultListener
 
returnedClass() - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum

S

STABLE - Static variable in class ca.uhn.cache.VolatilityEnum
Describes data that are unlikely to change (e.g.
SelfCachingDataSource - class ca.uhn.cache.impl.SelfCachingDataSource.
An IDataSource that is an underlying IDataSource wrapped in a read-through cache.
SelfCachingDataSource() - Constructor for class ca.uhn.cache.impl.SelfCachingDataSource
Default constructor.
StringParam - class ca.uhn.cache.impl.StringParam.
A IPointQueryParam that selects data items with values along a certain dimension exactly equal to a certain String value.
StringParam(IDimension, String) - Constructor for class ca.uhn.cache.impl.StringParam
Creates a new StringParam.
StringParamField - class ca.uhn.cache.internal.hibernate.impl.StringParamField.
Hibernate persistable object with xdoclet annotations for StringParam.
StringParamField(Record, StringParam) - Constructor for class ca.uhn.cache.internal.hibernate.impl.StringParamField
Constructs a StringParamField from a source StringParam.
StringParamField() - Constructor for class ca.uhn.cache.internal.hibernate.impl.StringParamField
 
StringParamHelper - class ca.uhn.cache.internal.hibernate.impl.StringParamHelper.
 
StringParamHelper() - Constructor for class ca.uhn.cache.internal.hibernate.impl.StringParamHelper
 
StringSetParam - class ca.uhn.cache.impl.StringSetParam.
A IQueryParam that selects data items with values along a certain dimension exactly equal to one of a set of String values.
StringSetParam(IDimension, Set) - Constructor for class ca.uhn.cache.impl.StringSetParam
Creates a new StringSetParam.
StringSetParam(IDimension, String[]) - Constructor for class ca.uhn.cache.impl.StringSetParam
Creates a new StringSetParam.
select(IQuery) - Method in interface ca.uhn.cache.internal.IQueryResultStore
Returns the query result from the store that matches the given query.
select(IQuery) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
Returns the query result from the store that matches the given query.
setAsText(String) - Method in class ca.uhn.cache.internal.spring.CustomEnumEditor
 
setBoundaries(IQuery) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setCacheTime(Timestamp) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setChunkStore(IChunkStore) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
setCombinedResult(IQueryResult) - Method in class ca.uhn.cache.util.QueryProcessor
Provide an initial value for the combined result.
setDataItemId(String) - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
setDataSource(IDataSource) - Method in class ca.uhn.cache.impl.SelfCachingDataSource
 
setDimensionName(String) - Method in class ca.uhn.cache.internal.hibernate.impl.Field
 
setExpiryTime(Timestamp) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setFields(SortedSet) - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
setHibernateId(String) - Method in class ca.uhn.cache.internal.hibernate.impl.HibernateObject
 
setInstance(Object) - Method in class ca.uhn.cache.impl.MethodDataSource
 
setLastAccessTime(Timestamp) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setLastUpdate(Date) - Method in class ca.uhn.cache.impl.DataItem
{@inheritDoc}
setLastUpdate(Timestamp) - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
setLastUpdateTime(Timestamp) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setMaxQueryGroups(int) - Method in class ca.uhn.cache.impl.SelfCachingDataSource
 
setMethod(Method) - Method in class ca.uhn.cache.impl.MethodDataSource
 
setMethodDataSourceHelper(IMethodDataSourceHelper) - Method in class ca.uhn.cache.impl.MethodDataSource
 
setParamSpace(IParamSpace) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
setParamSpace(IParamSpace) - Method in class ca.uhn.cache.internal.impl.HibernateQueryResultStore
 
setParamSpaceConfig(IParamSpaceConfig) - Method in class ca.uhn.cache.impl.ParamSpace
 
setQueryHash(int) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setQueryResultStore(IQueryResultStore) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
 
setReasons(Set) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setRecord(Record) - Method in class ca.uhn.cache.internal.hibernate.impl.Field
 
setSemanticCache(ISemanticCache) - Method in class ca.uhn.cache.impl.SelfCachingDataSource
 
setSourceResult(IQuery, IQueryResult) - Method in class ca.uhn.cache.util.QueryProcessor
 
setUpdate(IQueryResult) - Method in class ca.uhn.cache.util.UnstationaryQueryProcessor
Must be called before getCombinedData().
setValue(Timestamp) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamField
 
setValue(Serializable) - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
setValue(String) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamField
 
setVolatility(VolatilityEnum) - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
setVolatility(VolatilityEnum) - Method in class ca.uhn.cache.internal.hibernate.impl.Record
 
size() - Method in interface ca.uhn.cache.IQueryResult
Returns the number of elements in this query result.
size() - Method in class ca.uhn.cache.impl.QueryResult
 
sqlTypes() - Method in class ca.uhn.cache.internal.hibernate.HibernateEnum

T

TimestampUtils - class ca.uhn.cache.internal.util.TimestampUtils.
Group utility to handle converions between java.util.Date and java.sql.TimeStamp.
thread(Runnable) - Method in class ca.uhn.cache.util.QueryProcessor
Runs a task in its own thread.
timestampToDate(Timestamp) - Static method in class ca.uhn.cache.internal.util.TimestampUtils
Converts a time stamp to a date.
toChunk() - Method in class ca.uhn.cache.internal.hibernate.impl.ChunkField
 
toQueryParam(Map) - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamField
TODO refactor the parameter theDimensionNameToDimensionMap to use a typed map!
toQueryParam(Map) - Method in class ca.uhn.cache.internal.hibernate.impl.Field
TODO refactor the parameter theDimensionNameToDimensionMap to use a typed map!
toQueryParam(Map) - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamField
TODO refactor the parameter theDimensionNameToDimensionMap to use a typed map!
toString() - Method in class ca.uhn.cache.impl.CommonsLangObject
toString() - Method in class ca.uhn.cache.internal.hibernate.impl.DateParamField
toString() - Method in class ca.uhn.cache.internal.hibernate.impl.Field
toString() - Method in class ca.uhn.cache.internal.hibernate.impl.StringParamField

U

UTC - class ca.uhn.cache.internal.util.UTC.
Utility class to handle time and Univertal Time Coordinates (UTC).
UnstationaryQueryProcessor - class ca.uhn.cache.util.UnstationaryQueryProcessor.
An extension of QueryProcessor to handle unstationary data.
UnstationaryQueryProcessor(IQuery, ISemanticCache, int, Executor) - Constructor for class ca.uhn.cache.util.UnstationaryQueryProcessor
 
update(IQueryResult) - Method in interface ca.uhn.cache.ISemanticCache
Updates semantic regions that are already in the cache with revised data.
update(IQueryResult) - Method in class ca.uhn.cache.impl.ChunkBasedSemanticCache
Updates semantic regions that are already in the cache with revised data. This does not change the semantic scope of the cache, but may add or alter data items. If a data item moves from one semantic region to another as a result of an update, then if both regions are cached, the changed data will replace the old data, effectively removing it from the old region. If the new region is not cached, the data will remain in the old region, until it is evicted.

V

VOLATILE - Static variable in class ca.uhn.cache.VolatilityEnum
Describes data that are likely to change (e.g.
VolatilityEnum - class ca.uhn.cache.VolatilityEnum.
Type safe codes for data volatility.
VolatilityEnum(String, int) - Constructor for class ca.uhn.cache.VolatilityEnum
 

W

wrap(Object) - Method in interface ca.uhn.cache.proxy.IDataInspector
Wraps a domain-specific value (a query result) with metadata that are useful for caching.
wrapListener(Object[]) - Method in interface ca.uhn.cache.proxy.IListeningMethodAdapter
 

A B C D E F G H I M N P Q R S T U V W

Copyright © 2004-2005 University Health Network. All Rights Reserved.