@LoadLevel(name="kryo") public class KryoUndoLogParser extends Object implements UndoLogParser, org.apache.seata.common.executor.Initialize
| Constructor and Description |
|---|
KryoUndoLogParser() |
| Modifier and Type | Method and Description |
|---|---|
BranchUndoLog |
decode(byte[] bytes)
Decode byte array to branch undo log.
|
byte[] |
encode(BranchUndoLog branchUndoLog)
Encode branch undo log to byte array.
|
byte[] |
getDefaultContent()
Get default context of this parser
|
String |
getName()
Get the name of parser;
|
void |
init() |
public static final String NAME
public void init()
init in interface org.apache.seata.common.executor.Initializepublic String getName()
UndoLogParsergetName in interface UndoLogParserpublic byte[] getDefaultContent()
UndoLogParsergetDefaultContent in interface UndoLogParserpublic byte[] encode(BranchUndoLog branchUndoLog)
UndoLogParserencode in interface UndoLogParserbranchUndoLog - the branch undo logpublic BranchUndoLog decode(byte[] bytes)
UndoLogParserdecode in interface UndoLogParserbytes - the byte arrayCopyright © 2024 Apache. All rights reserved.