Class JournalEntry
- java.lang.Object
-
- org.apache.jena.dboe.transaction.txn.journal.JournalEntry
-
public class JournalEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static JournalEntryABORTstatic JournalEntryCOMMIT
-
Constructor Summary
Constructors Constructor Description JournalEntry(JournalEntryType type, ComponentId componentId, java.nio.ByteBuffer bytes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringformat(JournalEntry entry)java.nio.ByteBuffergetByteBuffer()ComponentIdgetComponentId()longgetPosition()JournalEntryTypegetType()java.lang.StringtoString()
-
-
-
Field Detail
-
COMMIT
public static final JournalEntry COMMIT
-
ABORT
public static final JournalEntry ABORT
-
-
Constructor Detail
-
JournalEntry
public JournalEntry(JournalEntryType type, ComponentId componentId, java.nio.ByteBuffer bytes)
-
-
Method Detail
-
getPosition
public long getPosition()
-
getType
public JournalEntryType getType()
-
getComponentId
public ComponentId getComponentId()
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
format
public static java.lang.String format(JournalEntry entry)
-
-