Class AbstractQueryResultsCache

java.lang.Object
org.datanucleus.store.query.cache.AbstractQueryResultsCache
All Implemented Interfaces:
Serializable, QueryResultsCache
Direct Known Subclasses:
JavaxCacheQueryResultCache

public abstract class AbstractQueryResultsCache extends Object implements QueryResultsCache
Root implementation of a query results cache, providing provessing of common persistence properties.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • nucleusCtx

      protected NucleusContext nucleusCtx
    • maxSize

      protected int maxSize
      Maximum size of cache (if supported by the plugin).
    • clearAtClose

      protected boolean clearAtClose
      Whether to clear out all objects at close().
    • expiryMillis

      protected long expiryMillis
      Timeout for cache object expiration (milliseconds).
    • cacheName

      protected String cacheName
      Name of the cache to use.
  • Constructor Details

    • AbstractQueryResultsCache

      public AbstractQueryResultsCache(NucleusContext nucleusCtx)