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/Sequence.html | 661 ++++++++++++++++--------------- 1 file changed, 338 insertions(+), 323 deletions(-) (limited to 'docs/java/com/sleepycat/db/Sequence.html') diff --git a/docs/java/com/sleepycat/db/Sequence.html b/docs/java/com/sleepycat/db/Sequence.html index 72756e6a..0df5ee24 100644 --- a/docs/java/com/sleepycat/db/Sequence.html +++ b/docs/java/com/sleepycat/db/Sequence.html @@ -1,217 +1,215 @@ - - - - - -Sequence (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class Sequence

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

-A Sequence handle is used to manipulate a sequence record in a database. -Sequence handles are opened using the Database.openSequence method. -

- -

-


- -

- +

+
com.sleepycat.db
+

Class Sequence

+
+
+ +
+
    +
  • +
    +
    +
    public class Sequence
    +extends java.lang.Object
    +
    A Sequence handle is used to manipulate a sequence record in a database. +Sequence handles are opened using the Database.openSequence method.
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidclose() - -
    -          Close a sequence.
    - longget(Transaction txn, - int delta) - -
    -          Return the next available element in the sequence and changes the sequence - value by delta.
    - DatabasegetDatabase() - -
    -          Return the Database handle associated with this sequence.
    - DatabaseEntrygetKey() - -
    -          Return the DatabaseEntry used to open this sequence.
    - SequenceStatsgetStats(StatsConfig config) - -
    -          Return statistical information about the sequence.
    - - - - - - - -
    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 sequence.
      +
      longget(Transaction txn, + int delta) +
      Return the next available element in the sequence and changes the sequence + value by delta.
      +
      DatabasegetDatabase() +
      Return the Database handle associated with this sequence.
      +
      DatabaseEntrygetKey() +
      Return the DatabaseEntry used to open this sequence.
      +
      SequenceStatsgetStats(StatsConfig config) +
      Return statistical information about the sequence.
      +
      intprintStats(StatsConfig config) +
      Print statistical information about the sequence to a specified output + channel (see the setMsgfile() method for more information), or passed to an + application callback function (see the setMsgcall() method for more + information).
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

    -close

    -
    -public void close()
    -           throws DatabaseException
    -
    -
    Close a sequence. Any unused cached values are lost. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        close

        +
        public void close()
        +           throws DatabaseException
        +
        Close a sequence. Any unused cached values are lost.

        The sequence handle may not be used again after this method has been called, regardless of the method's success or failure.

        -

        -

        -

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

    -get

    -
    -public long get(Transaction txn,
    -                int delta)
    -         throws DatabaseException
    -
    -
    Return the next available element in the sequence and changes the sequence +

+
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