|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.log.LogItem
public class LogItem
Item parameters that apply to a single logged item. Passed to LogManager log methods and to beforeLog and afterLog methods.
| Field Summary | |
|---|---|
protected ByteBuffer |
buffer
|
LogEntry |
entry
Object to be marshaled and logged. |
LogEntryHeader |
header
|
long |
newLsn
LSN of the new log entry. |
long |
oldLsn
The previous version of the node to be counted as obsolete, or NULL_LSN if the entry is not a node or has no old LSN. |
(package private) int |
oldSize
|
Provisional |
provisional
Whether the logged entry should be processed during recovery. |
ReplicationContext |
repContext
Whether the logged entry should be replicated. |
| Constructor Summary | |
|---|---|
LogItem()
|
|
| Method Summary | |
|---|---|
ByteBuffer |
getBuffer()
|
LogEntryHeader |
getHeader()
|
long |
getNewLsn()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public LogEntry entry
public long oldLsn
public long newLsn
public Provisional provisional
public ReplicationContext repContext
public LogEntryHeader header
protected ByteBuffer buffer
int oldSize
| Constructor Detail |
|---|
public LogItem()
| Method Detail |
|---|
public final LogEntryHeader getHeader()
public final ByteBuffer getBuffer()
public final long getNewLsn()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||