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/BackupOptions.html | 1171 ++++++++++++------------- 1 file changed, 540 insertions(+), 631 deletions(-) (limited to 'docs/java/com/sleepycat/db/BackupOptions.html') diff --git a/docs/java/com/sleepycat/db/BackupOptions.html b/docs/java/com/sleepycat/db/BackupOptions.html index e0f81629..163b07a0 100644 --- a/docs/java/com/sleepycat/db/BackupOptions.html +++ b/docs/java/com/sleepycat/db/BackupOptions.html @@ -1,667 +1,576 @@ - - - - - -BackupOptions (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class BackupOptions

-
-java.lang.Object
-  extended by com.sleepycat.db.BackupOptions
-
-
-
All Implemented Interfaces:
Cloneable
-
-
-
-
public class BackupOptions
extends Object
implements Cloneable
- - -

-Options for Environment.backup(java.lang.String, com.sleepycat.db.BackupOptions) operations. -

- -

-


- -

+

+
com.sleepycat.db
+

Class BackupOptions

+
+
+ +
+ +
+
+
    +
  • - - - - - - - - - - -
    -Field Summary
    -static BackupOptionsDEFAULT - -
    -          Default configuration used if null is passed to methods that create a - cursor.
    -  +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static BackupOptionsDEFAULT +
      Default configuration used if null is passed to methods that create a + cursor.
      +
      +
    • +
    - - - - - - - - - -
    -Constructor Summary
    BackupOptions() - -
    -          Construct a default options object for backup operations.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      BackupOptions() +
      Construct a default options object for backup operations.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleangetAllowCreate() - -
    -          Whether the target directory will be created if it does not already exist.
    - booleangetClean() - -
    -          Whether the target backup directory should be cleaned.
    - booleangetExclusiveCreate() - -
    -          Whether the target directory will be exclusively created.
    - booleangetFiles() - -
    -          Whether ordinary files are included in the hot backup.
    - booleangetNoLogs() - -
    -          Whether log files are included in the backup.
    - booleangetSingleDir() - -
    -          Whether all backed up files are to be placed in a single directory.
    - booleangetUpdate() - -
    -          Whether an incremental backup will be performed.
    - voidsetAllowCreate(boolean allowcreate) - -
    -          Sets whether the target directory will be created if it does not - already exist.
    - voidsetClean(boolean clean) - -
    -          Sets whether to clean the target backup directory.
    - voidsetExclusiveCreate(boolean exclusivecreate) - -
    -          Sets whether the target directory will be exclusively created.
    - voidsetFiles(boolean files) - -
    -          Sets whether all ordinary files will be backed up.
    - voidsetNoLogs(boolean nologs) - -
    -          Sets whether log files are skipped in the backup.
    - voidsetSingleDir(boolean singledir) - -
    -          Sets whether all backed up files are to be placed in a single directory.
    - voidsetUpdate(boolean update) - -
    -          Sets whether to perform an incremental back up.
    - - - - - - - -
    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
      booleangetAllowCreate() +
      Whether the target directory will be created if it does not already exist.
      +
      booleangetClean() +
      Whether the target backup directory should be cleaned.
      +
      booleangetExclusiveCreate() +
      Whether the target directory will be exclusively created.
      +
      booleangetFiles() +
      Whether ordinary files are included in the hot backup.
      +
      booleangetNoLogs() +
      Whether log files are included in the backup.
      +
      booleangetSingleDir() +
      Whether all backed up files are to be placed in a single directory.
      +
      booleangetUpdate() +
      Whether an incremental backup will be performed.
      +
      voidsetAllowCreate(boolean allowcreate) +
      Sets whether the target directory will be created if it does not + already exist.
      +
      voidsetClean(boolean clean) +
      Sets whether to clean the target backup directory.
      +
      voidsetExclusiveCreate(boolean exclusivecreate) +
      Sets whether the target directory will be exclusively created.
      +
      voidsetFiles(boolean files) +
      Sets whether all ordinary files will be backed up.
      +
      voidsetNoLogs(boolean nologs) +
      Sets whether log files are skipped in the backup.
      +
      voidsetSingleDir(boolean singledir) +
      Sets whether all backed up files are to be placed in a single directory.
      +
      voidsetUpdate(boolean update) +
      Sets whether to perform an incremental back up.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

    -DEFAULT

    -
    -public static final BackupOptions DEFAULT
    -
    -
    Default configuration used if null is passed to methods that create a - cursor. -

    -

    -
    -
    - +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DEFAULT

        +
        public static final BackupOptions DEFAULT
        +
        Default configuration used if null is passed to methods that create a + cursor.
        +
      • +
      +
    • +
    - - - - - - -
    -Constructor Detail
    - -

    -BackupOptions

    -
    -public BackupOptions()
    -
    -
    Construct a default options object for backup operations. -

    -

    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BackupOptions

        +
        public BackupOptions()
        +
        Construct a default options object for backup operations.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -setClean

    -
    -public void setClean(boolean clean)
    -
    -
    Sets whether to clean the target backup directory. -

    -

    -

    -
    -
    -
    -
    Parameters:
    clean - If true, all files are removed from the target backup directory before - the back up is performed.
    -
    -
    -
    - -

    -getClean

    -
    -public boolean getClean()
    -
    -
    Whether the target backup directory should be cleaned. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if the all files are removed from the target backup directory - before performing the backup.
    -
    -
    -
    - -

    -setFiles

    -
    -public void setFiles(boolean files)
    -
    -
    Sets whether all ordinary files will be backed up. -

    -

    -

    -
    -
    -
    -
    Parameters:
    files - If true, all ordinary files that might exist in the environment, as well +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setClean

        +
        public void setClean(boolean clean)
        +
        Sets whether to clean the target backup directory. +

        +
        Parameters:
        clean - If true, all files are removed from the target backup directory before + the back up is performed.
        +
      • +
      + + + +
        +
      • +

        getClean

        +
        public boolean getClean()
        +
        Whether the target backup directory should be cleaned. +

        +
        Returns:
        true if the all files are removed from the target backup directory + before performing the backup.
        +
      • +
      + + + +
        +
      • +

        setFiles

        +
        public void setFiles(boolean files)
        +
        Sets whether all ordinary files will be backed up. +

        +
        Parameters:
        files - If true, all ordinary files that might exist in the environment, as well as might exist in the environment's subdirectories, are backed up; otherwise, - only files necessary for the proper operation of Berkeley DB are backed up.
        -
    -
    -
    - -

    -getFiles

    -
    -public boolean getFiles()
    -
    -
    Whether ordinary files are included in the hot backup. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if ordinary files are included in the backup.
    -
    -
    -
    - -

    -setNoLogs

    -
    -public void setNoLogs(boolean nologs)
    -
    -
    Sets whether log files are skipped in the backup. -

    -

    -

    -
    -
    -
    -
    Parameters:
    nologs - If true, log files are not included in the backup. Instead, only *.db - files are copied to the target directory.
    -
    -
    -
    - -

    -getNoLogs

    -
    -public boolean getNoLogs()
    -
    -
    Whether log files are included in the backup. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if log files will not be included in the backup. Instead, only *.db - files are copied to the target directory.
    -
    -
    -
    - -

    -setSingleDir

    -
    -public void setSingleDir(boolean singledir)
    -
    -
    Sets whether all backed up files are to be placed in a single directory. -

    -

    -

    -
    -
    -
    -
    Parameters:
    singledir - If true, then regardless of the directory structure used by the source + only files necessary for the proper operation of Berkeley DB are backed up.
    +
  • +
+ + + +
    +
  • +

    getFiles

    +
    public boolean getFiles()
    +
    Whether ordinary files are included in the hot backup. +

    +
    Returns:
    true if ordinary files are included in the backup.
    +
  • +
+ + + +
    +
  • +

    setNoLogs

    +
    public void setNoLogs(boolean nologs)
    +
    Sets whether log files are skipped in the backup. +

    +
    Parameters:
    nologs - If true, log files are not included in the backup. Instead, only *.db + files are copied to the target directory.
    +
  • +
+ + + +
    +
  • +

    getNoLogs

    +
    public boolean getNoLogs()
    +
    Whether log files are included in the backup. +

    +
    Returns:
    true if log files will not be included in the backup. Instead, only *.db + files are copied to the target directory.
    +
  • +
+ + + +
    +
  • +

    setSingleDir

    +
    public void setSingleDir(boolean singledir)
    +
    Sets whether all backed up files are to be placed in a single directory. +

    +
    Parameters:
    singledir - If true, then regardless of the directory structure used by the source environment, place all back up files in the single target directory Use this option if absolute path names to your environment directory - and the files within that directory are required by your application.
    - - -
    - -

    -getSingleDir

    -
    -public boolean getSingleDir()
    -
    -
    Whether all backed up files are to be placed in a single directory. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if all the backup files will be placed in a single target + and the files within that directory are required by your application.
    +
  • +
+ + + +
    +
  • +

    getSingleDir

    +
    public boolean getSingleDir()
    +
    Whether all backed up files are to be placed in a single directory. +

    +
    Returns:
    true if all the backup files will be placed in a single target directory regardless of the directory structure used by the source - environment.
    - - -
    - -

    -setUpdate

    -
    -public void setUpdate(boolean update)
    -
    -
    Sets whether to perform an incremental back up. -

    -

    -

    -
    -
    -
    -
    Parameters:
    update - If true, perform an incremental back up, instead of a full back up. + environment.
    +
  • +
+ + + +
    +
  • +

    setUpdate

    +
    public void setUpdate(boolean update)
    +
    Sets whether to perform an incremental back up. +

    +
    Parameters:
    update - If true, perform an incremental back up, instead of a full back up. When this option is specified, only log files are copied to the target - directory.
    - - -
    - -

    -getUpdate

    -
    -public boolean getUpdate()
    -
    -
    Whether an incremental backup will be performed. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if an incremental backup, instead of a full backup, will be performed. - Also, if true, then only log files are copied to the target directory.
    -
    -
    -
    - -

    -setAllowCreate

    -
    -public void setAllowCreate(boolean allowcreate)
    -
    -
    Sets whether the target directory will be created if it does not + directory.
    +
  • +
+ + + +
    +
  • +

    getUpdate

    +
    public boolean getUpdate()
    +
    Whether an incremental backup will be performed. +

    +
    Returns:
    true if an incremental backup, instead of a full backup, will be performed. + Also, if true, then only log files are copied to the target directory.
    +
  • +
+ + + +
    +
  • +

    setAllowCreate

    +
    public void setAllowCreate(boolean allowcreate)
    +
    Sets whether the target directory will be created if it does not already exist. -

    -

    -

    -
    -
    -
    -
    Parameters:
    allowcreate - If true, then create the target directory and any subdirectories as +

    +
    Parameters:
    allowcreate - If true, then create the target directory and any subdirectories as required to perform the backup; otherwise, any missing directories will result in the backup operation throwing a - DatabaseException exception.
    - - -
    - -

    -getAllowCreate

    -
    -public boolean getAllowCreate()
    -
    -
    Whether the target directory will be created if it does not already exist. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if the backup operation will create the target directory and any + DatabaseException exception.
    +
  • +
+ + + +
    +
  • +

    getAllowCreate

    +
    public boolean getAllowCreate()
    +
    Whether the target directory will be created if it does not already exist. +

    +
    Returns:
    true if the backup operation will create the target directory and any subdirectories as required to perform the backup; otherwise, any missing directories will result in the backup operation throwing a - DatabaseException exception.
    - - -
    - -

    -setExclusiveCreate

    -
    -public void setExclusiveCreate(boolean exclusivecreate)
    -
    -
    Sets whether the target directory will be exclusively created. -

    -

    -

    -
    -
    -
    -
    Parameters:
    exclusivecreate - If true, then the backup operation will create the target directory and + DatabaseException exception.
    +
  • +
+ + + +
    +
  • +

    setExclusiveCreate

    +
    public void setExclusiveCreate(boolean exclusivecreate)
    +
    Sets whether the target directory will be exclusively created. +

    +
    Parameters:
    exclusivecreate - If true, then the backup operation will create the target directory and any required subdirectories. If the target directory currently exists, the backup operation will throw a - DatabaseException exception.
    - - -
    - -

    -getExclusiveCreate

    -
    -public boolean getExclusiveCreate()
    -
    -
    Whether the target directory will be exclusively created. -

    -

    -

    -
    -
    -
    - -
    Returns:
    true if the backup operation will create the target directory and + DatabaseException exception.
    +
  • +
+ + + +
    +
  • +

    getExclusiveCreate

    +
    public boolean getExclusiveCreate()
    +
    Whether the target directory will be exclusively created. +

    +
    Returns:
    true if the backup operation will create the target directory and any required subdirectories. If the target directory currently exists, the backup operation will throw a - DatabaseException exception.
    - - + DatabaseException exception. +
  • +
+ + + + +
+
-
- - - - - - - - - - - - - - - - - - -
-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