Class CommandNewTxn
java.lang.Object
org.apache.pulsar.common.api.proto.CommandNewTxn
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
copyFrom
(CommandNewTxn _other) long
int
long
getTcId()
long
boolean
boolean
hasTcId()
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setRequestId
(long requestId) setTcId
(long tcId) setTxnTtlSeconds
(long txnTtlSeconds) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandNewTxn
public CommandNewTxn()
-
-
Method Details
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasTxnTtlSeconds
public boolean hasTxnTtlSeconds() -
getTxnTtlSeconds
public long getTxnTtlSeconds() -
setTxnTtlSeconds
-
clearTxnTtlSeconds
-
hasTcId
public boolean hasTcId() -
getTcId
public long getTcId() -
setTcId
-
clearTcId
-
writeTo
public int writeTo(io.netty.buffer.ByteBuf _b) -
getSerializedSize
public int getSerializedSize() -
parseFrom
public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size) -
clear
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-