Uses of Class
org.apache.openjpa.datacache.QueryKey
Packages that use QueryKey
-
Uses of QueryKey in org.apache.openjpa.datacache
Methods in org.apache.openjpa.datacache that return QueryKeyModifier and TypeMethodDescriptionstatic QueryKeyQueryKey.newInstance(Query q) Return a key for the given query, or null if it is not cacheable.static QueryKeyQueryKey.newInstance(Query q, Object[] args) Return a key for the given query, or null if it is not cacheable.static QueryKeyQueryKey.newInstance(Query q, Map<Object, Object> args) Return a key for the given query, or null if it is not cacheable.Methods in org.apache.openjpa.datacache that return types with arguments of type QueryKeyModifier and TypeMethodDescriptionAbstractQueryCache.getStatistics()DelegatingQueryCache.getStatistics()QueryCache.getStatistics()Gets the simple statistics for query results.Methods in org.apache.openjpa.datacache with parameters of type QueryKeyModifier and TypeMethodDescriptionReturn a list of oids for the given query key.protected abstract QueryResultAbstractQueryCache.getInternal(QueryKey qk) Return the list for the given key.protected QueryResultConcurrentQueryCache.getInternal(QueryKey qk) booleanbooleanbooleanPin the value stored underqkinto the cache.protected abstract booleanAbstractQueryCache.pinInternal(QueryKey qk) Pin an object to the cache.protected booleanConcurrentQueryCache.pinInternal(QueryKey qk) AbstractQueryCache.put(QueryKey qk, QueryResult oids) DelegatingQueryCache.put(QueryKey qk, QueryResult oids) QueryCache.put(QueryKey qk, QueryResult oids) Set the list of OIDs for the given query key.protected abstract QueryResultAbstractQueryCache.putInternal(QueryKey qk, QueryResult oids) Add the given result to the cache, returning the old result under the given key.protected QueryResultConcurrentQueryCache.putInternal(QueryKey qk, QueryResult result) Remove the value stored under the given query key.protected abstract QueryResultAbstractQueryCache.removeInternal(QueryKey qk) Remove the result under the given key from the cache.protected QueryResultConcurrentQueryCache.removeInternal(QueryKey qk) booleanbooleanbooleanUnpin the value stored underkeyinto the cache.protected abstract booleanAbstractQueryCache.unpinInternal(QueryKey qk) Unpin an object from the cache.protected booleanConcurrentQueryCache.unpinInternal(QueryKey qk) Constructors in org.apache.openjpa.datacache with parameters of type QueryKeyModifierConstructorDescriptionQueryResult(QueryKey key, Collection<Object> data) Constructor; supply corresponding query key and result data.