org.exist.storage.btree
Class BTAbstractLoggable
java.lang.Object
org.exist.storage.journal.AbstractLoggable
org.exist.storage.btree.BTAbstractLoggable
- All Implemented Interfaces:
- Loggable
- Direct Known Subclasses:
- CreateBTNodeLoggable, InsertValueLoggable, RemoveValueLoggable, SetPageLinkLoggable, SetParentLoggable, UpdatePageLoggable, UpdateValueLoggable
public abstract class BTAbstractLoggable
- extends AbstractLoggable
- Author:
- wolf
BTAbstractLoggable
public BTAbstractLoggable(byte type,
byte fileId,
Txn transaction)
- Parameters:
type
- fileId
-
BTAbstractLoggable
public BTAbstractLoggable(byte type,
DBBroker broker,
long transactionId)
read
public void read(ByteBuffer in)
- Description copied from interface:
Loggable
- Read the entry.
write
public void write(ByteBuffer out)
- Description copied from interface:
Loggable
- Write this entry to the specified ByteBuffer.
getLogSize
public int getLogSize()
- Description copied from interface:
Loggable
- Returns the size of the work load of this
entry.
- Returns:
- size of the work load of this entry.
Copyright (C) Wolfgang Meier. All rights reserved.