Class OReadRecordIfVersionIsNotLatestRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OReadRecordIfVersionIsNotLatestRequest
- All Implemented Interfaces:
OBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>
public class OReadRecordIfVersionIsNotLatestRequest
extends Object
implements OBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionOReadRecordIfVersionIsNotLatestRequest(ORecordId rid, int recordVersion, String fetchPlan, boolean ignoreCache) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OBinaryRequestExecutor executor) byteintgetRid()booleanvoidread(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
-
OReadRecordIfVersionIsNotLatestRequest
-
OReadRecordIfVersionIsNotLatestRequest
public OReadRecordIfVersionIsNotLatestRequest()
-
-
Method Details
-
write
- Specified by:
writein interfaceOBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>- Throws:
IOException
-
read
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
readin interfaceOBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>- Throws:
IOException
-
getCommand
public byte getCommand()- Specified by:
getCommandin interfaceOBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>
-
getDescription
- Specified by:
getDescriptionin interfaceOBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>
-
getRid
-
getRecordVersion
public int getRecordVersion() -
getFetchPlan
-
isIgnoreCache
public boolean isIgnoreCache() -
createResponse
- Specified by:
createResponsein interfaceOBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>
-
execute
- Specified by:
executein interfaceOBinaryRequest<OReadRecordIfVersionIsNotLatestResponse>
-