jremote jbase5.2.1

com.jbase.jremote.protocol
Class ReleaseRecordLockRequest

java.lang.Object
  extended by com.jbase.jremote.protocol.JRemoteRequest
      extended by com.jbase.jremote.protocol.ReleaseRecordLockRequest
All Implemented Interfaces:
JBaseSerializable

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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable
JBaseSerializable.TYPE
 
Field Summary
static int CHECK_LOCK
           
static int RELEASE_LOCK
           
 
Constructor Summary
ReleaseRecordLockRequest(java.lang.String fileName, java.lang.String recordKey, int lockRequest)
           
 
Method Summary
 int getType()
           
 void readObject(JBaseObjectReader reader, int version)
           
 void writeObject(JBaseObjectWriter writer, int version)
           
 
Methods inherited from class com.jbase.jremote.protocol.JRemoteRequest
getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHECK_LOCK

public static final int CHECK_LOCK
See Also:
Constant Field Values

RELEASE_LOCK

public static final int RELEASE_LOCK
See Also:
Constant Field Values
Constructor Detail

ReleaseRecordLockRequest

public ReleaseRecordLockRequest(java.lang.String fileName,
                                java.lang.String recordKey,
                                int lockRequest)
Method Detail

writeObject

public void writeObject(JBaseObjectWriter writer,
                        int version)
                 throws java.io.IOException
Specified by:
writeObject in interface JBaseSerializable
Overrides:
writeObject in class JRemoteRequest
Throws:
java.io.IOException

readObject

public void readObject(JBaseObjectReader reader,
                       int version)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Specified by:
readObject in interface JBaseSerializable
Overrides:
readObject in class JRemoteRequest
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getType

public int getType()
Returns:
type id of the objects, used during the serialization
See Also:
JBaseSerializable.getType()

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.