public final class PersistNFS extends Persist
Persist.Schemes| Constructor and Description |
|---|
PersistNFS() |
| Modifier and Type | Method and Description |
|---|---|
static Key |
decodeFile(java.io.File f)
Key from file
|
void |
delete(Value v)
Reclaim space from a previously stored Value
|
byte[] |
load(Value v)
Load a previously stored Value
|
static java.io.InputStream |
openStream(Key k)
InputStream from a NFS-based Key
|
void |
store(Value v)
Store a Value into persistent storage, consuming some storage space.
|
Key |
uriToKey(java.net.URI uri)
Transform given uri into file vector holding file name.
|
anyURIToKey, getIce, getTotalSpace, getUsableSpacepublic static Key decodeFile(java.io.File f)
public static java.io.InputStream openStream(Key k) throws java.io.IOException
java.io.IOExceptionpublic byte[] load(Value v) throws java.io.IOException
Persistpublic void store(Value v)
Persistpublic void delete(Value v)
Persist