Class AbstractQueryResultsCache
java.lang.Object
org.datanucleus.store.query.cache.AbstractQueryResultsCache
- All Implemented Interfaces:
Serializable
,QueryResultsCache
- Direct Known Subclasses:
JavaxCacheQueryResultCache
Root implementation of a query results cache, providing provessing of common persistence properties.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Name of the cache to use.protected boolean
Whether to clear out all objects at close().protected long
Timeout for cache object expiration (milliseconds).protected int
Maximum size of cache (if supported by the plugin).protected NucleusContext
private static final long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
nucleusCtx
-
maxSize
protected int maxSizeMaximum size of cache (if supported by the plugin). -
clearAtClose
protected boolean clearAtCloseWhether to clear out all objects at close(). -
expiryMillis
protected long expiryMillisTimeout for cache object expiration (milliseconds). -
cacheName
Name of the cache to use.
-
-
Constructor Details
-
AbstractQueryResultsCache
-