|
||||||||||
| 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 EventStatesrecord - 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 ClusterRecordJournalException - if an error occurs
protected void readEndMarker()
throws JournalException
readEndMarker in class ClusterRecordJournalException - if an error occurs
protected void doWrite()
throws JournalException
doWrite in class ClusterRecordJournalException - if an error occurspublic void process(ClusterRecordProcessor processor)
process
method.
process in class ClusterRecordprocessor - 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 | |||||||||