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
ConstructorsConstructorDescriptionUpdatePortionLogAction(int pageNo, int offset, byte[] beforeImage, byte[] afterImage) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]intintintgetType()protected voidreadContent(DataInput in) toString()protected voidwriteContent(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:
writeContentin classLogAction- Parameters:
out-- Throws:
IOException
-
readContent
- Specified by:
readContentin classLogAction- Parameters:
in-- Throws:
IOException
-
toString
-