com.caucho.distcache.cluster
Class MetadataFileStore

java.lang.Object
  extended by com.caucho.distcache.cluster.MetadataFileStore

public class MetadataFileStore
extends java.lang.Object

Manages the backing for the file store.


Constructor Summary
MetadataFileStore(Path path, java.lang.String tableName)
           
 
Method Summary
 byte[] get(byte[] key)
           
 Path getPath()
          Returns the path to the directory.
 java.lang.String getTableName()
          Sets the table name
 void put(byte[] key, byte[] value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataFileStore

public MetadataFileStore(Path path,
                         java.lang.String tableName)
Method Detail

getPath

public Path getPath()
Returns the path to the directory.


getTableName

public java.lang.String getTableName()
Sets the table name


get

public byte[] get(byte[] key)

put

public void put(byte[] key,
                byte[] value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object