public class MesosVolatileVolume extends java.lang.Object implements IVolatileVolume
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOG_DIR_NAME |
static java.lang.String |
LOG_FILE_NAME_PREFIX |
static java.lang.String |
WORKER_DIR_NAME_PREFIX |
Constructor and Description |
---|
MesosVolatileVolume(java.lang.String volatileJobDirPath,
int workerID) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getWorkerDir()
get the worker directory as a File object
this method creates the directory if it is not already created
|
java.lang.String |
getWorkerDirPath()
get the directory path of this worker as a string
|
boolean |
jobDirExists() |
public static final java.lang.String WORKER_DIR_NAME_PREFIX
public static final java.lang.String LOG_FILE_NAME_PREFIX
public static final java.lang.String LOG_DIR_NAME
public MesosVolatileVolume(java.lang.String volatileJobDirPath, int workerID)
public java.lang.String getWorkerDirPath()
IVolatileVolume
getWorkerDirPath
in interface IVolatileVolume
public boolean jobDirExists()
public java.io.File getWorkerDir()
IVolatileVolume
getWorkerDir
in interface IVolatileVolume