org.compass.needle.coherence
Class FileLockKey
java.lang.Object
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
FileLockKey
public FileLockKey()
FileLockKey
public FileLockKey(String indexName,
String lockName)
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.