Class UpdatePortionLogAction
- java.lang.Object
-
- com.swiftmq.impl.store.standard.log.LogAction
-
- com.swiftmq.impl.store.standard.log.UpdatePortionLogAction
-
public class UpdatePortionLogAction extends LogAction
-
-
Field Summary
-
Fields inherited from class com.swiftmq.impl.store.standard.log.LogAction
DELETE, INSERT, UPDATE, UPDATE_PORTION
-
-
Constructor Summary
Constructors Constructor Description UpdatePortionLogAction(int pageNo, int offset, byte[] beforeImage, byte[] afterImage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getAfterImage()
byte[]
getBeforeImage()
int
getOffset()
int
getPageNo()
int
getType()
protected void
readContent(java.io.DataInput in)
java.lang.String
toString()
protected void
writeContent(java.io.DataOutput out)
-
-
-
Method Detail
-
getPageNo
public int getPageNo()
- Returns:
-
getOffset
public int getOffset()
- Returns:
-
getBeforeImage
public byte[] getBeforeImage()
- Returns:
-
getAfterImage
public byte[] getAfterImage()
- Returns:
-
writeContent
protected void writeContent(java.io.DataOutput out) throws java.io.IOException
- Specified by:
writeContent
in classLogAction
- Parameters:
out
-- Throws:
java.io.IOException
-
readContent
protected void readContent(java.io.DataInput in) throws java.io.IOException
- Specified by:
readContent
in classLogAction
- Parameters:
in
-- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-