Class UpdatePortionLogAction
java.lang.Object
com.swiftmq.impl.store.standard.log.LogAction
com.swiftmq.impl.store.standard.log.UpdatePortionLogAction
-
Field Summary
Fields inherited from class com.swiftmq.impl.store.standard.log.LogAction
DELETE, INSERT, UPDATE, UPDATE_PORTION
-
Constructor Summary
ConstructorDescriptionUpdatePortionLogAction
(int pageNo, int offset, byte[] beforeImage, byte[] afterImage) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
int
int
int
getType()
protected void
readContent
(DataInput in) toString()
protected void
writeContent
(DataOutput out)
-
Constructor Details
-
UpdatePortionLogAction
public UpdatePortionLogAction(int pageNo, int offset, byte[] beforeImage, byte[] afterImage) - Parameters:
pageNo
-offset
-beforeImage
-afterImage
-
-
-
Method Details
-
getType
public int getType() -
getPageNo
public int getPageNo()- Returns:
-
getOffset
public int getOffset()- Returns:
-
getBeforeImage
public byte[] getBeforeImage()- Returns:
-
getAfterImage
public byte[] getAfterImage()- Returns:
-
writeContent
- Specified by:
writeContent
in classLogAction
- Parameters:
out
-- Throws:
IOException
-
readContent
- Specified by:
readContent
in classLogAction
- Parameters:
in
-- Throws:
IOException
-
toString
-