public class MesosPersistentVolume extends java.lang.Object implements IPersistentVolume
| 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 | 
|---|
| MesosPersistentVolume(java.lang.String jobDirPath,
                     int workerID) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.io.File | getJobDir()get the job directory as a File object | 
| java.lang.String | getJobDirPath()get the path of the shared persistent job directory as a string | 
| java.lang.String | getLogFileName()get logfile name for this worker | 
| 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()check whether job directory exists | 
| boolean | workerDirExists()check whether worker directory exist | 
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 MesosPersistentVolume(java.lang.String jobDirPath,
                             int workerID)
public java.lang.String getJobDirPath()
IPersistentVolumegetJobDirPath in interface IPersistentVolumepublic java.lang.String getWorkerDirPath()
IPersistentVolumegetWorkerDirPath in interface IPersistentVolumepublic boolean jobDirExists()
IPersistentVolumejobDirExists in interface IPersistentVolumepublic boolean workerDirExists()
IPersistentVolumeworkerDirExists in interface IPersistentVolumepublic java.io.File getJobDir()
IPersistentVolumegetJobDir in interface IPersistentVolumepublic java.io.File getWorkerDir()
IPersistentVolumegetWorkerDir in interface IPersistentVolumepublic java.lang.String getLogFileName()
IPersistentVolumegetLogFileName in interface IPersistentVolume