abstract class BaseEntry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) LogEntryType |
entryType |
(package private) java.lang.Class<?> |
logClass |
| Constructor and Description |
|---|
BaseEntry()
Constructor to write an entry.
|
BaseEntry(java.lang.Class<?> logClass)
Constructor to read an entry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
countAsObsoleteWhenLogged()
Returns true if this item should be counted as obsoleted when logged.
|
abstract java.lang.StringBuffer |
dumpEntry(java.lang.StringBuffer sb,
boolean verbose) |
int |
getLastLoggedSize()
By default, return zero because the last logged size is unknown.
|
LogEntryType |
getLogType() |
void |
postLogWork(long justLoggedLsn)
Do any processing we need to do after logging, while under the logging
latch.
|
void |
setLogType(LogEntryType entryType)
Inform a BaseEntry instance of its corresponding LogEntryType.
|
java.lang.String |
toString() |
java.lang.Class<?> logClass
LogEntryType entryType
BaseEntry(java.lang.Class<?> logClass)
BaseEntry()
public void setLogType(LogEntryType entryType)
public LogEntryType getLogType()
public int getLastLoggedSize()
public boolean countAsObsoleteWhenLogged()
public void postLogWork(long justLoggedLsn)
throws DatabaseException
DatabaseExceptionpublic abstract java.lang.StringBuffer dumpEntry(java.lang.StringBuffer sb,
boolean verbose)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004,2008 Oracle. All rights reserved.