com.hazelcast.transaction.client
public abstract class BaseTransactionRequest extends CallableClientRequest
Modifier and Type | Field and Description |
---|---|
protected long |
clientThreadId |
protected String |
txnId |
callId, clientEngine, endpoint, operationService, serializationService, service
BEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSION
buffer
Constructor and Description |
---|
BaseTransactionRequest() |
Modifier and Type | Method and Description |
---|---|
Object |
call() |
protected TransactionContext |
getTransactionContext() |
protected abstract Object |
innerCall() |
void |
read(PortableReader reader) |
void |
setClientThreadId(long clientThreadId) |
void |
setTxnId(String txnId) |
void |
write(PortableWriter writer) |
process
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, getServiceName, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
addFlag, create, createForDecode, createForEncode, createForEncode, getCorrelationId, getDataOffset, getFlags, getFrameLength, getMessageType, getPartitionId, getVersion, isComplete, isFlagSet, isRetryable, isUrgent, readFrom, setCorrelationId, setDataOffset, setFrameLength, setMessageType, setPartitionId, setRetryable, setVersion, toString, updateFrameLength, wrapForDecode, wrapForEncode, writeTo
buffer, getBoolean, getByteArray, getData, getDataList, getDataSet, getInt, getLong, getStringUtf8, index, index, int32Get, int32Set, set, set, set, set, set, set, set, uint16Get, uint16Put, uint32Get, uint32Put, uint8Get, uint8Put, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequiredPermission
getClassId, getFactoryId
protected String txnId
protected long clientThreadId
public void setTxnId(String txnId)
public void setClientThreadId(long clientThreadId)
protected TransactionContext getTransactionContext()
public void write(PortableWriter writer) throws IOException
write
in class ClientRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class ClientRequest
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.