public class DefaultDaemonContext extends Object implements DaemonContext
DaemonContextBuilder,
Serialized Form| Constructor and Description |
|---|
DefaultDaemonContext(String uid,
File javaHome,
File daemonRegistryDir,
Long pid,
Integer idleTimeout,
List<String> daemonOpts) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDaemonOpts()
Returns the JVM options that the daemon was started with.
|
File |
getDaemonRegistryDir()
The directory that should be used for daemon storage (not including the gradle version number).
|
Integer |
getIdleTimeout()
The daemon's idle timeout in milliseconds.
|
File |
getJavaHome()
The JAVA_HOME in use, as the canonical file.
|
Long |
getPid()
The process id of the daemon.
|
String |
getUid()
The unique identifier for this daemon.
|
String |
toString() |
public String getUid()
DaemonContextgetUid in interface DaemonContextpublic File getJavaHome()
DaemonContextgetJavaHome in interface DaemonContextpublic File getDaemonRegistryDir()
DaemonContextgetDaemonRegistryDir in interface DaemonContextpublic Long getPid()
DaemonContextgetPid in interface DaemonContextpublic Integer getIdleTimeout()
DaemonContextgetIdleTimeout in interface DaemonContextpublic List<String> getDaemonOpts()
DaemonContextgetDaemonOpts in interface DaemonContextCopyright © 2013. All rights reserved