org.codehaus.activemq.journal.impl
Class Mark
java.lang.Object
org.codehaus.activemq.journal.impl.Mark
- class Mark
- extends Object
Serializes/Deserializes Mark records. When a mark is set in the journal, a Mark record
must be journaled so that on restart the Journal knows what was the last mark.
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MARK_RECORD_SIZE
public static final int MARK_RECORD_SIZE
- See Also:
- Constant Field Values
sequenceId
public long sequenceId
offsetId
public int offsetId
Mark
public Mark()
Mark
public Mark(RecordLocationImpl location)
writeExternal
public byte[] writeExternal()
throws IOException
- Throws:
IOException
readExternal
public void readExternal(byte[] data)
throws IOException
- Throws:
IOException
copy
public void copy(Mark mark)
- Parameters:
mark
-
Copyright © 2004 Protique, Ltd.. All Rights Reserved.