|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.journal.DefaultRecordProducer
public class DefaultRecordProducer
Produces new records that can be appended to the journal.
Constructor Summary | |
---|---|
DefaultRecordProducer(AbstractJournal journal,
String id)
Create a new instance of this class. |
Method Summary | |
---|---|
Record |
append()
Append a record. |
protected AppendRecord |
createRecord()
Create a new record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRecordProducer(AbstractJournal journal, String id)
journal
- journalid
- producer idMethod Detail |
---|
public Record append() throws JournalException
Record.update()
or Record.cancelUpdate()
.
on the record returned.
append
in interface RecordProducer
JournalException
- if an error occursprotected AppendRecord createRecord() throws JournalException
JournalException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |