Class WorkingDirectory
java.lang.Object
org.apache.flink.runtime.entrypoint.WorkingDirectory
Class that manages a working directory for a process/instance. When being instantiated, this
class makes sure that the specified working directory exists.
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkingDirectorystatic WorkingDirectorycreateSubWorkingDirectory(String directoryName) voiddelete()toString()
-
Method Details
-
delete
- Throws:
IOException
-
getTmpDirectory
-
getLocalStateDirectory
-
getSlotAllocationSnapshotDirectory
-
createSubWorkingDirectory
- Throws:
IOException
-
toString
-
create
- Throws:
IOException
-
createIn
public static WorkingDirectory createIn(File parentDirectory, String directoryName) throws IOException - Throws:
IOException
-
getBlobStorageDirectory
-