public class ReleaseRecordLockRequest extends JRemoteRequest
Request jBASE to release a record lock. If the record key is an empty string, then all record locks will be released.
JBaseSerializable.TYPE
Modifier and Type | Field and Description |
---|---|
static int |
CHECK_LOCK |
static int |
RELEASE_LOCK |
Constructor and Description |
---|
ReleaseRecordLockRequest(java.lang.String fileName,
java.lang.String recordKey,
int lockRequest) |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
void |
readObject(JBaseObjectReader reader,
int version) |
void |
writeObject(JBaseObjectWriter writer,
int version) |
getVersion
public static final int CHECK_LOCK
public static final int RELEASE_LOCK
public ReleaseRecordLockRequest(java.lang.String fileName, java.lang.String recordKey, int lockRequest)
public void writeObject(JBaseObjectWriter writer, int version) throws java.io.IOException
writeObject
in interface JBaseSerializable
writeObject
in class JRemoteRequest
java.io.IOException
public void readObject(JBaseObjectReader reader, int version) throws java.io.IOException, java.lang.ClassNotFoundException
readObject
in interface JBaseSerializable
readObject
in class JRemoteRequest
java.io.IOException
java.lang.ClassNotFoundException
public int getType()
JBaseSerializable.getType()