public final class PersistNFS extends Persist
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_PREFIX_LENGTH |
| Constructor and Description |
|---|
PersistNFS() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static Key |
decodeFile(java.io.File f) |
void |
delete(Value v) |
java.lang.String |
getPath() |
Value |
lazyArrayChunk(Key key)
Lazily manifest data chunks on demand.
|
byte[] |
load(Value v)
Value should already be persisted to disk.
|
void |
loadExisting()
Load all Key/Value pairs that can be found on the backend.
|
static java.io.InputStream |
openStream(Key k) |
void |
store(Value v) |
getIce, getTotalSpace, getUsableSpace, initializepublic 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)
Persistpublic Value lazyArrayChunk(Key key)
PersistlazyArrayChunk in class Persistpublic void loadExisting()
PersistloadExisting in class Persist