org.compass.needle.coherence
Class FileLockKey

java.lang.Object
  extended by org.compass.needle.coherence.FileLockKey
All Implemented Interfaces:
com.tangosol.io.ExternalizableLite, Serializable, FileKey

public class FileLockKey
extends Object
implements FileKey, com.tangosol.io.ExternalizableLite

Author:
kimchy
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.compass.needle.coherence.FileKey
FILE_BUCKET, FILE_HEADER, FILE_LOCK
 
Constructor Summary
FileLockKey()
           
FileLockKey(String indexName, String lockName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getFileName()
           
 String getIndexName()
           
 String getLockName()
           
 byte getType()
           
 int hashCode()
           
 void readExternal(DataInput in)
           
 String toString()
           
 void writeExternal(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileLockKey

public FileLockKey()

FileLockKey

public FileLockKey(String indexName,
                   String lockName)
Method Detail

getIndexName

public String getIndexName()
Specified by:
getIndexName in interface FileKey

getLockName

public String getLockName()

getFileName

public String getFileName()
Specified by:
getFileName in interface FileKey

getType

public byte getType()
Specified by:
getType in interface FileKey

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

readExternal

public void readExternal(DataInput in)
                  throws IOException
Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException
Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2008 The Compass Project.