|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.cluster.ClusterRecord
org.apache.jackrabbit.core.cluster.ChangeLogRecord
public class ChangeLogRecord
Cluster record representing a workspace or version update.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.core.cluster.ClusterRecord |
---|
END_MARKER, record, workspace |
Constructor Summary | |
---|---|
ChangeLogRecord(ChangeLog changes,
List events,
Record record,
String workspace)
Create a new instance of this class. |
Method Summary | |
---|---|
protected void |
doRead()
Deserialize this record. |
protected void |
doWrite()
Serialize this record. |
ChangeLog |
getChanges()
Return the changes. |
List |
getEvents()
Return the events. |
void |
process(ClusterRecordProcessor processor)
Process this record, calling the appropriate process
method. |
protected void |
readEndMarker()
Read end marker. |
Methods inherited from class org.apache.jackrabbit.core.cluster.ClusterRecord |
---|
cancelUpdate, getRevision, getWorkspace, read, update, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeLogRecord(ChangeLog changes, List events, Record record, String workspace)
changes
- changeslist
- of EventState
srecord
- recordworkspace
- workspaceMethod Detail |
---|
protected void doRead() throws JournalException
doRead
in class ClusterRecord
JournalException
- if an error occursprotected void readEndMarker() throws JournalException
readEndMarker
in class ClusterRecord
JournalException
- if an error occursprotected void doWrite() throws JournalException
doWrite
in class ClusterRecord
JournalException
- if an error occurspublic void process(ClusterRecordProcessor processor)
process
method.
process
in class ClusterRecord
processor
- processorpublic ChangeLog getChanges()
public List getEvents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |