com.caucho.distcache.cluster
Class MetadataFileStore
java.lang.Object
com.caucho.distcache.cluster.MetadataFileStore
public class MetadataFileStore
- extends java.lang.Object
Manages the backing for the file store.
|
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 |
MetadataFileStore
public MetadataFileStore(Path path,
java.lang.String tableName)
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