public class PersistTachyon extends Persist<tachyon.client.TachyonFS>
Modifier and Type | Class and Description |
---|---|
static class |
PersistTachyon.H2OTachyonInputStream |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CLIENT_URI |
static java.lang.String |
PREFIX |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
tachyon.client.TachyonFS |
createClient(java.lang.String uri)
Create a client for given URI.
|
static java.lang.String[] |
decode(java.lang.String s) |
void |
delete(Value v) |
java.lang.String |
getDefaultURI()
Return default URI of server to fetch data
|
java.lang.String |
getPath() |
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,
Job.ProgressMonitor pmon) |
void |
store(Value v) |
createClient, getIce, getTotalSpace, getUsableSpace, initialize
public static final java.lang.String PREFIX
public static final java.lang.String DEFAULT_CLIENT_URI
public static java.io.InputStream openStream(Key k, Job.ProgressMonitor pmon)
public byte[] load(Value v)
Persist
public static java.lang.String[] decode(java.lang.String s)
public java.lang.String getPath()
public void loadExisting()
Persist
loadExisting
in class Persist<tachyon.client.TachyonFS>
public java.lang.String getDefaultURI()
Persist
getDefaultURI
in class Persist<tachyon.client.TachyonFS>
public tachyon.client.TachyonFS createClient(java.lang.String uri) throws java.io.IOException
Persist
createClient
in class Persist<tachyon.client.TachyonFS>
java.io.IOException