org.compass.needle.gigaspaces.store
Class FileLock

java.lang.Object
  extended by com.j_spaces.core.client.MetaDataEntry
      extended by org.compass.needle.gigaspaces.store.FileLock
All Implemented Interfaces:
com.j_spaces.core.client.IMetaDataEntry, Externalizable, Serializable, net.jini.core.entry.Entry

public class FileLock
extends com.j_spaces.core.client.MetaDataEntry
implements Externalizable

A file lock represent a lock held by an application.

Author:
kimchy
See Also:
Serialized Form

Field Summary
 String indexName
           
 String lockName
           
 
Constructor Summary
FileLock()
           
FileLock(String indexName, String lockName)
           
 
Method Summary
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.j_spaces.core.client.MetaDataEntry
__getEntryInfo, __setEntryInfo, _readExternal, _writeExternal, isFifo, isNOWriteLeaseMode, isTransient, makePersistent, makeTransient, setFifo, setNOWriteLeaseMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indexName

public String indexName

lockName

public String lockName
Constructor Detail

FileLock

public FileLock()

FileLock

public FileLock(String indexName,
                String lockName)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.