Interface RecordProducer
-
- All Known Implementing Classes:
DefaultRecordProducer
public interface RecordProducerProduces new records that can be appended to the journal.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recordappend()Append a record.
-
-
-
Method Detail
-
append
Record append() throws JournalException
Append a record. This operation implicitly locks the journal revision and must be followed by eitherRecord.update()orRecord.cancelUpdate(). on the record returned.- Returns:
- appended record
- Throws:
JournalException- if an error occurs
-
-