public final class DtxEnd extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
DtxEnd() |
DtxEnd(Xid xid,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
DtxEnd |
clearFail() |
DtxEnd |
clearSuspend() |
DtxEnd |
clearXid() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
DtxEnd |
fail(boolean value) |
byte |
getEncodedTrack() |
boolean |
getFail() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
getSuspend() |
Xid |
getXid() |
boolean |
hasFail() |
boolean |
hasPayload() |
boolean |
hasSuspend() |
boolean |
hasXid() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
DtxEnd |
setFail(boolean value) |
DtxEnd |
setSuspend(boolean value) |
DtxEnd |
setXid(Xid value) |
DtxEnd |
suspend(boolean value) |
void |
write(Encoder enc)
Encodes this encodable using the given encoder.
|
DtxEnd |
xid(Xid value) |
complete, create, delegate, getBody, getBodySize, getChannel, getHeader, getId, hasCompletionListener, isBatch, isSync, isUnreliable, setBody, setChannel, setCompletionListener, setHeader, setSync, toStringgetEncodedType, isDirty, setDirtypublic static final int TYPE
public final int getStructType()
getStructType in class Structpublic final int getSizeWidth()
getSizeWidth in class Structpublic final int getPackWidth()
getPackWidth in class Structpublic final boolean hasPayload()
hasPayload in class Methodpublic final byte getEncodedTrack()
getEncodedTrack in interface ProtocolEventgetEncodedTrack in class Methodpublic final boolean isConnectionControl()
public <C> void dispatch(C context,
MethodDelegate<C> delegate)
public final boolean hasXid()
public final DtxEnd clearXid()
public final Xid getXid()
public final boolean hasFail()
public final DtxEnd clearFail()
public final boolean getFail()
public final DtxEnd setFail(boolean value)
public final DtxEnd fail(boolean value)
public final boolean hasSuspend()
public final DtxEnd clearSuspend()
public final boolean getSuspend()
public final DtxEnd setSuspend(boolean value)
public final DtxEnd suspend(boolean value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.