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. --- .../sleepycat/bind/serial/StoredClassCatalog.html | 708 ++++++++++----------- 1 file changed, 351 insertions(+), 357 deletions(-) (limited to 'docs/java/com/sleepycat/bind/serial/StoredClassCatalog.html') diff --git a/docs/java/com/sleepycat/bind/serial/StoredClassCatalog.html b/docs/java/com/sleepycat/bind/serial/StoredClassCatalog.html index e29bdd30..6bfd6c99 100644 --- a/docs/java/com/sleepycat/bind/serial/StoredClassCatalog.html +++ b/docs/java/com/sleepycat/bind/serial/StoredClassCatalog.html @@ -1,389 +1,383 @@ - - - - - -StoredClassCatalog (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.bind.serial -
-Class StoredClassCatalog

-
-java.lang.Object
-  extended by com.sleepycat.bind.serial.StoredClassCatalog
-
-
-
All Implemented Interfaces:
ClassCatalog
-
-
-
-
public class StoredClassCatalog
extends Object
implements ClassCatalog
- - -

-A ClassCatalog that is stored in a Database. +

+
com.sleepycat.bind.serial
+

Class StoredClassCatalog

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ClassCatalog
    +
    +
    +
    +
    public class StoredClassCatalog
    +extends java.lang.Object
    +implements ClassCatalog
    +
    A ClassCatalog that is stored in a Database.

    A single StoredClassCatalog object is normally used along - with a set of databases that stored serialized objects.

    -

    - -

    -

    -
    See Also:
    Class Evolution
    -
    - -

    - + with a set of databases that stored serialized objects.

    +
    See Also:
    Class Evolution
    +
  • +
+
+
+
    +
  • - - - - - - - - - -
    -Constructor Summary
    StoredClassCatalog(Database database) - -
    -          Creates a catalog based on a given database.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      StoredClassCatalog(Database database) +
      Creates a catalog based on a given database.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidclose() - -
    -          Close a catalog database and release any cached resources.
    - ObjectStreamClassgetClassFormat(byte[] classID) - -
    -          Return the ObjectStreamClass for the given class ID.
    - byte[]getClassID(ObjectStreamClass classFormat) - -
    -          Return the class ID for the current version of the given class - description.
    - ClassLoadergetClassLoader() - -
    -          For BDB JE, returns the ClassLoader property of the catalog database - environment.
    - - - - - - - -
    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
      voidclose() +
      Close a catalog database and release any cached resources.
      +
      java.io.ObjectStreamClassgetClassFormat(byte[] classID) +
      Return the ObjectStreamClass for the given class ID.
      +
      byte[]getClassID(java.io.ObjectStreamClass classFormat) +
      Return the class ID for the current version of the given class + description.
      +
      java.lang.ClassLoadergetClassLoader() +
      For BDB JE, returns the ClassLoader property of the catalog database + environment.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

    -StoredClassCatalog

    -
    -public StoredClassCatalog(Database database)
    -                   throws DatabaseException,
    -                          IllegalArgumentException
    -
    -
    Creates a catalog based on a given database. To save resources, only a - single catalog object should be used for each unique catalog database. -

    -

    -
    Parameters:
    database - an open database to use as the class catalog. It must - be a BTREE database and must not allow duplicates. -
    Throws: -
    DatabaseException - if an error occurs accessing the database. -
    IllegalArgumentException - if the database is not a BTREE database - or if it configured to allow duplicates.
    -
    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StoredClassCatalog

        +
        public StoredClassCatalog(Database database)
        +                   throws DatabaseException,
        +                          java.lang.IllegalArgumentException
        +
        Creates a catalog based on a given database. To save resources, only a + single catalog object should be used for each unique catalog database.
        +
        Parameters:
        database - an open database to use as the class catalog. It must + be a BTREE database and must not allow duplicates.
        +
        Throws:
        +
        DatabaseException - if an error occurs accessing the database.
        +
        java.lang.IllegalArgumentException - if the database is not a BTREE database + or if it configured to allow duplicates.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -close

    -
    -public void close()
    -           throws DatabaseException
    -
    -
    Description copied from interface: ClassCatalog
    -
    Close a catalog database and release any cached resources. -

    -

    -
    Specified by:
    close in interface ClassCatalog
    -
    -
    - -
    Throws: -
    DatabaseException
    -
    -
    -
    - -

    -getClassID

    -
    -public byte[] getClassID(ObjectStreamClass classFormat)
    -                  throws DatabaseException,
    -                         ClassNotFoundException
    -
    -
    Description copied from interface: ClassCatalog
    -
    Return the class ID for the current version of the given class +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getClassID

        +
        public byte[] getClassID(java.io.ObjectStreamClass classFormat)
        +                  throws DatabaseException,
        +                         java.lang.ClassNotFoundException
        +
        Description copied from interface: ClassCatalog
        +
        Return the class ID for the current version of the given class description. This is used for storing in serialization streams in place of a full class descriptor, since it is much more compact. To get back the - ObjectStreamClass for a class ID, call ClassCatalog.getClassFormat(byte[]). + ObjectStreamClass for a class ID, call ClassCatalog.getClassFormat(byte[]). This function causes a new class ID to be assigned if the class - description has changed. -

        -

        -
        Specified by:
        getClassID in interface ClassCatalog
        -
        -
        -
        Parameters:
        classFormat - The class description for which to return the - class ID. -
        Returns:
        The class ID for the current version of the class. -
        Throws: -
        DatabaseException -
        ClassNotFoundException
        -
        -
    -
    - -

    -getClassFormat

    -
    -public ObjectStreamClass getClassFormat(byte[] classID)
    -                                 throws DatabaseException,
    -                                        ClassNotFoundException
    -
    -
    Description copied from interface: ClassCatalog
    -
    Return the ObjectStreamClass for the given class ID. This may or may + description has changed.
+
+
Specified by:
+
getClassID in interface ClassCatalog
+
Parameters:
classFormat - The class description for which to return the + class ID.
+
Returns:
The class ID for the current version of the class.
+
Throws:
+
DatabaseException
+
java.lang.ClassNotFoundException
+ + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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