SLogSequenceNumber (Oracle - Berkeley DB Client-Server API)
Date: 2018-05-29

com.sleepycat.client

## Class SLogSequenceNumber

- java.lang.Object
- - com.sleepycat.client.SLogSequenceNumber

-     public class SLogSequenceNumber
      extends java.lang.Object

  The SLogSequenceNumber object is a log sequence number which specifies a unique location in a log file. A SLogSequenceNumber consists of two unsigned 32-bit integers -- one specifies the log file number, and the other specifies the offset in the log file.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SLogSequenceNumber(int file, int offset)` Construct a SLogSequenceNumber with the specified file and offset.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getFile()` Return the file number component.
    `int` | `getOffset()` Return the file offset component.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SLogSequenceNumber

          public SLogSequenceNumber(int file,
                                    int offset)

      Construct a SLogSequenceNumber with the specified file and offset.
      Parameters:
        `file` - the log file number.
        `offset` - the log file offset.

  - ### Method Detail

    - #### getFile

          public int getFile()

      Return the file number component.
      Returns:
        the file number component

    - #### getOffset

          public int getOffset()

      Return the file offset component.
      Returns:
        the file offset component

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.