@LoadLevel(name="protostuff") public class ProtostuffUndoLogParser extends Object implements UndoLogParser
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ProtostuffUndoLogParser.DateDelegate
Delegate for java.util.Date
|
static class |
ProtostuffUndoLogParser.SqlDateDelegate
Delegate for java.sql.Date
|
static class |
ProtostuffUndoLogParser.TimeDelegate
Delegate for java.sql.Time
|
static class |
ProtostuffUndoLogParser.TimestampDelegate
Delegate for java.sql.Timestamp
|
| 构造器和说明 |
|---|
ProtostuffUndoLogParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
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;
|
public String getName()
UndoLogParsergetName 在接口中 UndoLogParserpublic byte[] getDefaultContent()
UndoLogParsergetDefaultContent 在接口中 UndoLogParserpublic byte[] encode(BranchUndoLog branchUndoLog)
UndoLogParserencode 在接口中 UndoLogParserbranchUndoLog - the branch undo logpublic BranchUndoLog decode(byte[] bytes)
UndoLogParserdecode 在接口中 UndoLogParserbytes - the byte arrayCopyright © 2019 Seata. All rights reserved.