org.apache.cayenne.cache

## Class OSQueryCacheFactory

- java.lang.Object
- - org.apache.cayenne.cache.OSQueryCacheFactory

- All Implemented Interfaces:
    QueryCacheFactory

  Deprecated.
  since 3.1 OSQueryCacheFactory and QueryCacheFactory are unused.

      @Deprecated
      public class OSQueryCacheFactory
      extends Object
      implements QueryCacheFactory

  A factory for the OSCache factory. "/oscache.properties" file is read to load the standard OSCache properties and also extra properties
  Since:
    3.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OSQueryCacheFactory()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryCache` | `getQueryCache(Map<String,String> properties)` Deprecated. Creates QueryCache, ignoring provided properties, and reading data from "oscache.properties" file instead.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OSQueryCacheFactory

          public OSQueryCacheFactory()

      Deprecated.

  - ### Method Detail

    - #### getQueryCache

          public QueryCache getQueryCache(Map<String,String> properties)

      Deprecated.
      Creates QueryCache, ignoring provided properties, and reading data from "oscache.properties" file instead.
      Specified by:
        `getQueryCache` in interface `QueryCacheFactory`

Copyright © 2001–2018 Apache Cayenne. All rights reserved.