public interface DaemonContext extends Serializable
This is used by clients to determine whether or not a daemon meets its requirements such as JDK version, special system properties etc.
Instances must be serializable because they are shared via the DaemonRegistry, which is permitted to use serialization to communicate across VM boundaries. Implementations are not required to be, but should also be immutable.
DaemonContextBuilder,
DaemonCompatibilitySpec| 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 getUid()
File getJavaHome()
File getDaemonRegistryDir()
Long getPid()
Integer getIdleTimeout()
Copyright © 2013. All rights reserved