public class TransactionSerializer extends Object
| 构造器和说明 |
|---|
TransactionSerializer() |
protected static int sizeOfPrepare(TransactionPrepare prepare) throws Exception
Exceptionprotected static void serializePrepare(ByteBuffer buffer, TransactionPrepare prepare) throws Exception
Exceptionprotected static TransactionPrepare deserializePrepare(ByteBuffer buffer) throws Exception
Exceptionprotected static int sizeOfMarker(TransactionMarker marker) throws Exception
Exceptionprotected static void serializeMarker(ByteBuffer buffer, TransactionMarker marker) throws Exception
Exceptionprotected static TransactionMarker deserializeMarker(ByteBuffer buffer) throws Exception
Exceptionprotected static int sizeOfOffset(TransactionOffset offset) throws Exception
Exceptionprotected static void serializeOffset(ByteBuffer buffer, TransactionOffset offset) throws Exception
Exceptionprotected static TransactionOffset deserializeOffset(ByteBuffer buffer) throws Exception
Exceptionpublic static byte[] serialize(TransactionDomain transactionDomain) throws Exception
Exceptionpublic static TransactionDomain deserialize(ByteBuffer buffer) throws Exception
Exceptionprotected static void serializeHeader(ByteBuffer buffer, TransactionDomain transactionDomain) throws Exception
Exceptionprotected static org.joyqueue.broker.kafka.coordinator.transaction.helper.TransactionSerializer.TransactionHeader deserializeHeader(ByteBuffer buffer)
Copyright © 2020 Joyqueue Community. All rights reserved.