org.compass.needle.coherence
Class FileHeaderKey

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

public class FileHeaderKey
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
FileHeaderKey()
           
FileHeaderKey(String indexName, String fileName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getFileName()
           
 String getIndexName()
           
 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

FileHeaderKey

public FileHeaderKey()

FileHeaderKey

public FileHeaderKey(String indexName,
                     String fileName)
Method Detail

getIndexName

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

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.