org.compass.needle.coherence
Interface FileKey

All Known Implementing Classes:
FileBucketKey, FileHeaderKey, FileLockKey

public interface FileKey

A generic interface for all the different type of keys stored within a Cohernece Cache (Map).

Author:
kimchy

Field Summary
static byte FILE_BUCKET
           
static byte FILE_HEADER
           
static byte FILE_LOCK
           
 
Method Summary
 String getFileName()
          Returns the file name (within the index name).
 String getIndexName()
          Returns the index name.
 byte getType()
          Returns the type of the key.
 

Field Detail

FILE_HEADER

static final byte FILE_HEADER
See Also:
Constant Field Values

FILE_BUCKET

static final byte FILE_BUCKET
See Also:
Constant Field Values

FILE_LOCK

static final byte FILE_LOCK
See Also:
Constant Field Values
Method Detail

getIndexName

String getIndexName()
Returns the index name.


getFileName

String getFileName()
Returns the file name (within the index name).


getType

byte getType()
Returns the type of the key.

See Also:
FILE_HEADER, FILE_BUCKET, FILE_LOCK


Copyright (c) 2004-2009 The Compass Project.