## Uses of Class
com.sleepycat.db.CacheFilePriority

- Packages that use CacheFilePriority
  Package | Description
  --- | ---
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

- - ### Uses of CacheFilePriority in com.sleepycat.db

    Fields in com.sleepycat.db declared as CacheFilePriority
    Modifier and Type | Field | Description
    --- | --- | ---
    `static CacheFilePriority` | CacheFilePriority.`DEFAULT` | The default priority.
    `static CacheFilePriority` | CacheFilePriority.`HIGH` | The second highest priority.
    `static CacheFilePriority` | CacheFilePriority.`LOW` | The second lowest priority.
    `static CacheFilePriority` | CacheFilePriority.`VERY_HIGH` | The highest priority: pages are the least likely to be discarded.
    `static CacheFilePriority` | CacheFilePriority.`VERY_LOW` | The lowest priority: pages are the most likely to be discarded.

    Methods in com.sleepycat.db that return CacheFilePriority
    Modifier and Type | Method | Description
    --- | --- | ---
    `CacheFilePriority` | CacheFile.`getPriority()` | Return the cache priority for pages from the specified file.
    `CacheFilePriority` | Cursor.`getPriority()` | Get the cache priority for pages referenced by the cursor.
    `CacheFilePriority` | DatabaseConfig.`getPriority()` | Return the the cache priority for pages referenced by this handle.

    Methods in com.sleepycat.db with parameters of type CacheFilePriority
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CacheFile.`setPriority​(CacheFilePriority priority)` | Set the cache priority for pages from the specified file.
    `void` | Cursor.`setPriority​(CacheFilePriority priority)` | Set the cache priority for pages referenced by the DBC handle.
    `void` | DatabaseConfig.`setPriority​(CacheFilePriority priority)` | Set the cache priority for pages referenced by the DB handle.

Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.