Class OLockRecordRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OLockRecordRequest
- All Implemented Interfaces:
OBinaryRequest<OLockRecordResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionOLockRecordRequest(ORID identity, OStorage.LOCKING_STRATEGY lockingStrategy, long timeout) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OBinaryRequestExecutor executor) bytelongvoidread(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
-
OLockRecordRequest
public OLockRecordRequest() -
OLockRecordRequest
-
-
Method Details
-
write
- Specified by:
writein interfaceOBinaryRequest<OLockRecordResponse>- Throws:
IOException
-
read
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
readin interfaceOBinaryRequest<OLockRecordResponse>- Throws:
IOException
-
getCommand
public byte getCommand()- Specified by:
getCommandin interfaceOBinaryRequest<OLockRecordResponse>
-
createResponse
- Specified by:
createResponsein interfaceOBinaryRequest<OLockRecordResponse>
-
execute
- Specified by:
executein interfaceOBinaryRequest<OLockRecordResponse>
-
getDescription
- Specified by:
getDescriptionin interfaceOBinaryRequest<OLockRecordResponse>
-
getLockingStrategy
-
getIdentity
-
getTimeout
public long getTimeout()
-