Class OBeginTransactionRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OBeginTransactionRequest
- All Implemented Interfaces:
OBinaryRequest<OBeginTransactionResponse>
- Direct Known Subclasses:
ORebeginTransactionRequest
public class OBeginTransactionRequest
extends Object
implements OBinaryRequest<OBeginTransactionResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionOBeginTransactionRequest(int txId, boolean hasContent, boolean usingLog, Iterable<ORecordOperation> operations, Map<String, OTransactionIndexChanges> indexChanges) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OBinaryRequestExecutor executor) byteintgetTxId()booleanbooleanvoidread(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) voidwrite(OChannelDataOutput network, ORemoteClientSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.client.remote.OBinaryRequest
requireDatabaseSession, requiredServerRole, requireServerUser
-
Constructor Details
-
OBeginTransactionRequest
public OBeginTransactionRequest(int txId, boolean hasContent, boolean usingLog, Iterable<ORecordOperation> operations, Map<String, OTransactionIndexChanges> indexChanges) -
OBeginTransactionRequest
public OBeginTransactionRequest()
-
-
Method Details
-
write
- Specified by:
writein interfaceOBinaryRequest<OBeginTransactionResponse>- Throws:
IOException
-
read
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
readin interfaceOBinaryRequest<OBeginTransactionResponse>- Throws:
IOException
-
getCommand
public byte getCommand()- Specified by:
getCommandin interfaceOBinaryRequest<OBeginTransactionResponse>
-
createResponse
- Specified by:
createResponsein interfaceOBinaryRequest<OBeginTransactionResponse>
-
execute
- Specified by:
executein interfaceOBinaryRequest<OBeginTransactionResponse>
-
getDescription
- Specified by:
getDescriptionin interfaceOBinaryRequest<OBeginTransactionResponse>
-
getOperations
-
getIndexChanges
-
getTxId
public int getTxId() -
isUsingLog
public boolean isUsingLog() -
isHasContent
public boolean isHasContent()
-