public class OLockRecordRequest extends Object implements OBinaryRequest<OLockRecordResponse>
Constructor and Description |
---|
OLockRecordRequest() |
OLockRecordRequest(ORID identity,
OStorage.LOCKING_STRATEGY lockingStrategy,
long timeout) |
Modifier and Type | Method and Description |
---|---|
OLockRecordResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
String |
getDescription() |
ORID |
getIdentity() |
OStorage.LOCKING_STRATEGY |
getLockingStrategy() |
long |
getTimeout() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requireDatabaseSession, requiredServerRole, requireServerUser
public OLockRecordRequest()
public OLockRecordRequest(ORID identity, OStorage.LOCKING_STRATEGY lockingStrategy, long timeout)
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<OLockRecordResponse>
IOException
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<OLockRecordResponse>
IOException
public byte getCommand()
getCommand
in interface OBinaryRequest<OLockRecordResponse>
public OLockRecordResponse createResponse()
createResponse
in interface OBinaryRequest<OLockRecordResponse>
public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute
in interface OBinaryRequest<OLockRecordResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<OLockRecordResponse>
public OStorage.LOCKING_STRATEGY getLockingStrategy()
public ORID getIdentity()
public long getTimeout()
Copyright © 2009–2020 OrientDB. All rights reserved.