public static class Os.TmpDirFinder
extends java.lang.Object
it is weird if /tmp is not writable, but it does happen, hence this check
note you can also set java system property to force the use of a specific tmp space
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BROOKLYN_OS_TMPDIR_PROPERTY
can be set as a jvm system property to force a particular tmp dir; directory must exist with the right permissions
|
Constructor and Description |
---|
TmpDirFinder() |
Modifier and Type | Method and Description |
---|---|
Maybe<java.lang.String> |
get() |
boolean |
isFallback() |
boolean |
isFound() |
boolean |
useWithWarning(java.lang.String dir) |
public static java.lang.String BROOKLYN_OS_TMPDIR_PROPERTY
public Maybe<java.lang.String> get()
public boolean isFallback()
public boolean useWithWarning(java.lang.String dir)
public boolean isFound()