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, toString
getEncodedType, isDirty, setDirty
public static final int TYPE
public final int getStructType()
getStructType
in class Struct
public final int getSizeWidth()
getSizeWidth
in class Struct
public final int getPackWidth()
getPackWidth
in class Struct
public final boolean hasPayload()
hasPayload
in class Method
public final byte getEncodedTrack()
getEncodedTrack
in interface ProtocolEvent
getEncodedTrack
in class Method
public 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)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.