org.apache.jackrabbit.core.journal
Interface RecordProducer

All Known Implementing Classes:
DefaultRecordProducer

public interface RecordProducer

Produces new records that can be appended to the journal.


Method Summary
 Record append()
          Append a record.
 

Method Detail

append

Record append()
              throws JournalException
Append a record. This operation implicitely locks the journal revision and must be followed by either Record.update() or Record.cancelUpdate(). on the record returned.

Returns:
appended record
Throws:
JournalException - if an error occurs


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.