MillDaemonMain

mill.daemon.MillDaemonMain
See theMillDaemonMain companion object
class MillDaemonMain(daemonDir: Path, acceptTimeout: FiniteDuration, locks: Locks, outMode: OutFolderMode) extends MillDaemonServer[RunnerState]

Attributes

Companion
object
Source
MillDaemonMain.scala
Graph
Supertypes
class Server[DaemonServerData, Int]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def main0(args: Array[String], stateCache: RunnerState, mainInteractive: Boolean, streams: SystemStreams, env: Map[String, String], setIdle: Boolean => Unit, userSpecifiedProperties: Map[String, String], initialSystemProperties: Map[String, String], systemExit: StopServer): (Boolean, RunnerState)

Attributes

Source
MillDaemonMain.scala

Inherited methods

override def checkIfClientAlive(connectionData: ConnectionData, data: DaemonServerData): Boolean

Attributes

Definition Classes
Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala
override def connectionHandlerThreadName(socket: Socket): String

Attributes

Definition Classes
Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala
override def endConnection(connectionData: ConnectionData, data: Option[DaemonServerData], result: Option[Int]): Unit

Attributes

Definition Classes
Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala

Exit code to send to other clients when server is terminated while handling a request

Exit code to send to other clients when server is terminated while handling a request

Attributes

Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala
override def handleConnection(connectionData: ConnectionData, stopServer: StopServer, setIdle: SetIdle, data: DaemonServerData): Int

Attributes

Definition Classes
Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala
override def prepareConnection(connectionData: ConnectionData, stopServer: StopServer): DaemonServerData

Invoked before a thread that runs handleConnection is spawned.

Invoked before a thread that runs handleConnection is spawned.

Attributes

Definition Classes
Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala
def run(): Option[Int]

Attributes

Inherited from:
Server
Source
Server.scala
def runLocked(initialSystemProperties: Map[String, String], socketPortFile: Path): Option[Int]

Attributes

Inherited from:
Server
Source
Server.scala
def runSocketHandler(clientSocket: Socket, initialSystemProperties: Map[String, String], closeServer0: Option[Int] => Unit, connectionTracker: ConnectionTracker): Unit

Attributes

Inherited from:
Server
Source
Server.scala
def serverLog(s: String): Unit

Attributes

Inherited from:
Server
Source
Server.scala
def serverLog0(s: String): Unit

Attributes

Inherited from:
Server
Source
Server.scala
def systemExit(exitCode: Int): Nothing

Attributes

Inherited from:
MillDaemonServer
Source
MillDaemonServer.scala

Concrete fields

val outFolder: Path

Attributes

Source
MillDaemonMain.scala
val outLock: Lock

Attributes

Source
MillDaemonMain.scala

Inherited fields

val acceptTimeoutMillisOpt: Option[Long]

Attributes

Inherited from:
Server
Source
Server.scala
val processId: Long

Attributes

Inherited from:
Server
Source
Server.scala