com.caucho.server.cluster
Class ValueFileStore
java.lang.Object
com.caucho.server.cluster.ValueFileStore
public class ValueFileStore
- extends java.lang.Object
Manages the backing for the file store.
|
Method Summary |
void |
add(byte[] digest,
java.io.InputStream value)
|
java.sql.Blob |
get(byte[] digest)
|
Path |
getPath()
Returns the path to the directory. |
java.lang.String |
getTableName()
Sets the table name |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValueFileStore
public ValueFileStore(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
add
public void add(byte[] digest,
java.io.InputStream value)
get
public java.sql.Blob get(byte[] digest)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object