|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.log.entry.BaseEntry
abstract class BaseEntry
A Log entry allows you to read, write and dump a database log entry. Each entry may be made up of one or more loggable items. The log entry on disk consists of a. a log header defined by LogManager b. a VLSN, if this entry type requires it, and replication is on. c. the specific contents of the log entry. This class encompasses (b & c).
Field Summary | |
---|---|
(package private) LogEntryType |
entryType
|
(package private) java.lang.Class |
logClass
|
Constructor Summary | |
---|---|
BaseEntry()
Constructor to write an entry. |
|
BaseEntry(java.lang.Class logClass)
Constructor to read an entry. |
Method Summary | |
---|---|
boolean |
countAsObsoleteWhenLogged()
Returns true if this item should be counted as obsoleted when logged. |
LogEntryType |
getLogType()
|
void |
postLogWork(long justLoggedLsn)
Do any processing we need to do after logging, while under the logging latch. |
void |
setLastLoggedSize(int size)
By default, do nothing. |
void |
setLogType(LogEntryType entryType)
Inform a BaseEntry instance of its corresponding LogEntryType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.Class logClass
LogEntryType entryType
Constructor Detail |
---|
BaseEntry(java.lang.Class logClass)
BaseEntry()
Method Detail |
---|
public void setLogType(LogEntryType entryType)
public LogEntryType getLogType()
public boolean countAsObsoleteWhenLogged()
public void postLogWork(long justLoggedLsn) throws DatabaseException
DatabaseException
public void setLastLoggedSize(int size)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |