public final class DtxSetTimeout extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
DtxSetTimeout() |
DtxSetTimeout(Xid xid,
long timeout,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
DtxSetTimeout |
clearTimeout() |
DtxSetTimeout |
clearXid() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
long |
getTimeout() |
Xid |
getXid() |
boolean |
hasPayload() |
boolean |
hasTimeout() |
boolean |
hasXid() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
DtxSetTimeout |
setTimeout(long value) |
DtxSetTimeout |
setXid(Xid value) |
DtxSetTimeout |
timeout(long value) |
void |
write(Encoder enc)
Encodes this encodable using the given encoder.
|
DtxSetTimeout |
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 DtxSetTimeout clearXid()
public final Xid getXid()
public final DtxSetTimeout setXid(Xid value)
public final DtxSetTimeout xid(Xid value)
public final boolean hasTimeout()
public final DtxSetTimeout clearTimeout()
public final long getTimeout()
public final DtxSetTimeout setTimeout(long value)
public final DtxSetTimeout timeout(long value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.