From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/java/com/sleepycat/db/CacheFile.html | 789 +++++++++++++++--------------- 1 file changed, 381 insertions(+), 408 deletions(-) (limited to 'docs/java/com/sleepycat/db/CacheFile.html') diff --git a/docs/java/com/sleepycat/db/CacheFile.html b/docs/java/com/sleepycat/db/CacheFile.html index 1190c005..b71b6f73 100644 --- a/docs/java/com/sleepycat/db/CacheFile.html +++ b/docs/java/com/sleepycat/db/CacheFile.html @@ -1,245 +1,228 @@ - - - - - -CacheFile (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class CacheFile

-
-java.lang.Object
-  extended by com.sleepycat.db.CacheFile
-
-
-
-
public class CacheFile
extends Object
- - -

-This class allows applications to modify settings for -a Database using the Database.getCacheFile. -

- -

-


- -

- +

+
com.sleepycat.db
+

Class CacheFile

+
+
+ +
+
    +
  • +
    +
    +
    public class CacheFile
    +extends java.lang.Object
    +
    This class allows applications to modify settings for +a Database using the Database.getCacheFile.
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - longgetMaximumSize() - -
    -          Return the maximum size for the file backing the database, or 0 if - no maximum file size has been configured.
    - booleangetNoFile() - -
    -          Return true if the opening of backing temporary files for in-memory - databases has been disallowed.
    - CacheFilePrioritygetPriority() - -
    -          Return the cache priority for pages from the specified file.
    - booleangetUnlink() - -
    -          Return true if the file will be removed when the last reference to it is - closed.
    - voidsetMaximumSize(long bytes) - -
    -          Set the -maximum size for the file backing the database.
    - voidsetNoFile(boolean onoff) - -
    -          Disallow opening backing temporary files for in-memory - databases, even if they expand to fill the entire cache.
    - voidsetPriority(CacheFilePriority priority) - -
    -          Set the -cache priority for pages from the specified file.
    - voidsetUnlink(boolean onoff) - -
    -          Remove the file when the last reference to it is closed.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      longgetMaximumSize() +
      Return the maximum size for the file backing the database, or 0 if + no maximum file size has been configured.
      +
      booleangetNoFile() +
      Return true if the opening of backing temporary files for in-memory + databases has been disallowed.
      +
      CacheFilePrioritygetPriority() +
      Return the cache priority for pages from the specified file.
      +
      booleangetUnlink() +
      Return true if the file will be removed when the last reference to it is + closed.
      +
      voidsetMaximumSize(long bytes) +
      Set the +maximum size for the file backing the database.
      +
      voidsetNoFile(boolean onoff) +
      Disallow opening backing temporary files for in-memory + databases, even if they expand to fill the entire cache.
      +
      voidsetPriority(CacheFilePriority priority) +
      Set the +cache priority for pages from the specified file.
      +
      voidsetUnlink(boolean onoff) +
      Remove the file when the last reference to it is closed.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -getPriority

    -
    -public CacheFilePriority getPriority()
    -                              throws DatabaseException
    -
    -
    Return the cache priority for pages from the specified file. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPriority

        +
        public CacheFilePriority getPriority()
        +                              throws DatabaseException
        +
        Return the cache priority for pages from the specified file.

        This method may be called at any time during the life of the application. -

        -

        -

        - -
        Returns:
        The cache priority for pages from the specified file. -

        -

        -

        Throws: -
        DatabaseException - if a failure occurs.
        -
        -
    -
    - -

    -setPriority

    -
    -public void setPriority(CacheFilePriority priority)
    -                 throws DatabaseException
    -
    -
    Set the +

+
Returns:
The cache priority for pages from the specified file. +

+

+
Throws:
+
DatabaseException - if a failure occurs.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

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

+ + -- cgit v1.2.1