com.sleepycat.je.log
Class LogItem

java.lang.Object
  extended by com.sleepycat.je.log.LogItem
Direct Known Subclasses:
INLogItem

public class LogItem
extends java.lang.Object

Item parameters that apply to a single logged item. Passed to LogManager log methods and to beforeLog and afterLog methods.


Field Summary
 LogEntry entry
          Object to be marshaled and logged.
 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.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

public LogEntry entry
Object to be marshaled and logged. Set by caller or beforeLog method.


oldLsn

public 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. Set by caller or beforeLog method.


newLsn

public long newLsn
LSN of the new log entry. Is NULL_LSN if a BINDelta is logged. If not NULL_LSN for a tree node, is typically used to update the slot in the parent IN. Set by log or afterLog method.


provisional

public Provisional provisional
Whether the logged entry should be processed during recovery. Set by caller or beforeLog method.


repContext

public ReplicationContext repContext
Whether the logged entry should be replicated. Set by caller or beforeLog method.

Constructor Detail

LogItem

public LogItem()