|
||||||||||
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<EventState> events,
Record record,
String workspace,
long timestamp,
String userData)
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<EventState> |
getEvents()
Return the events. |
long |
getTimestamp()
Returns the timestamp. |
String |
getUserData()
Returns the user data. |
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<EventState> events, Record record, String workspace, long timestamp, String userData)
changes
- changesevents
- list of EventState
srecord
- recordworkspace
- workspacetimestamp
- when the changes for this record were persisted.userData
- the user data associated with these changes.Method 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<EventState> getEvents()
public long getTimestamp()
public String getUserData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |