Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.4.20
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sleepycat.db.LogSequenceNumber

Packages that use LogSequenceNumber
com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

Uses of LogSequenceNumber in com.sleepycat.db

Methods in com.sleepycat.db that return LogSequenceNumber
`LogSequenceNumber` | `TransactionStats.getLastCkp()` The LSN of the last checkpoint.
`LogSequenceNumber` | `TransactionStats.Active.getLsn()` The log sequence number of the transaction's first log record.
`LogSequenceNumber` | `ReplicationStatus.getLSN()` Whenever processing a messages results in the processing of messages that are permanent, or a message carrying a DB_REP_PERMANENT flag was processed successfully, but was not written to disk, the LSN of the record is available from the getLSN method.
`LogSequenceNumber` | `ReplicationStats.getNextLsn()` In replication environments configured as masters, the next LSN expected.
`LogSequenceNumber` | `ReplicationStats.getWaitingLsn()` The LSN of the first log record we have after missing log records being waited for, or 0 if no log records are currently missing.
`LogSequenceNumber` | `ReplicationStats.getElectionLsn()` The maximum LSN of election winner.
`LogSequenceNumber` | `Environment.logPut(DatabaseEntry data, boolean flush)` Append a record to the log.

Methods in com.sleepycat.db with parameters of type LogSequenceNumber
`int` | `ReplicationTransport.send(Environment environment, DatabaseEntry control, DatabaseEntry rec, LogSequenceNumber lsn, int envid, boolean noBuffer, boolean permanent, boolean anywhere, boolean isRetry)` The callback used when Berkeley DB needs to transmit a replication message.
`static int` | `LogSequenceNumber.compare(LogSequenceNumber lsn0, LogSequenceNumber lsn1)` Compare two LogSequenceNumber objects.
`int` | `LogRecordHandler.handleLogRecord(Environment environment, DatabaseEntry logRecord, LogSequenceNumber lsn, RecoveryOperation operation)`
`OperationStatus` | `LogCursor.getCurrent(LogSequenceNumber lsn, DatabaseEntry data)` Return the LogSequenceNumber and log record to which the log cursor currently refers.
`OperationStatus` | `LogCursor.getNext(LogSequenceNumber lsn, DatabaseEntry data)` Return the next LogSequenceNumber and log record.
`OperationStatus` | `LogCursor.getFirst(LogSequenceNumber lsn, DatabaseEntry data)` Return the first LogSequenceNumber and log record.
`OperationStatus` | `LogCursor.getLast(LogSequenceNumber lsn, DatabaseEntry data)` Return the last LogSequenceNumber and log record.
`OperationStatus` | `LogCursor.getPrev(LogSequenceNumber lsn, DatabaseEntry data)` Return the previous LogSequenceNumber and log record.
`OperationStatus` | `LogCursor.set(LogSequenceNumber lsn, DatabaseEntry data)` Return a specific log record.
`String` | `Environment.getLogFileName(LogSequenceNumber lsn)` Return the name of the log file that contains the log record specified by a LogSequenceNumber object.
`void` | `Environment.logFlush(LogSequenceNumber lsn)` Flush log records to stable storage.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.4.20
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.