mill.server.Server
See theServer companion class
object Server
Attributes
- Companion
- class
- Source
- Server.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Server.type
Members list
Type members
Classlikes
case class Args(daemonDir: Path, acceptTimeout: Option[FiniteDuration], locks: Locks, bufferSize: Int, testLogEvenWhenServerIdWrong: Boolean)
Value parameters
- acceptTimeout
-
shuts down after this timeout if no clients are connected
- bufferSize
-
size of the buffer used to read/write from/to the client
- daemonDir
-
directory used for exchanging pre-TCP data with a client
Attributes
- Source
- Server.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
@FunctionalInterface
trait SetIdle
Controls whether the server is considered idle.
Controls whether the server is considered idle.
Attributes
- Source
- Server.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value parameters
- local
-
the address of the server
- remote
-
the address of the client
Attributes
- Companion
- object
- Source
- Server.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object SocketInfo
Attributes
- Companion
- class
- Source
- Server.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SocketInfo.type
@FunctionalInterface
trait StopServer
Immediately stops the server with the given exit code.
Immediately stops the server with the given exit code.
Attributes
- Source
- Server.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Source
- Server.scala
Attributes
- Source
- Server.scala
Attributes
- Source
- Server.scala
def tryLockBlock[T](lock: Lock, beforeClose: () => Unit, afterClose: () => Unit)(block: AutoCloseable => T): Option[T]
Attributes
- Source
- Server.scala
def watchProcessIdFile(processIdFile: Path, processId: Long, running: () => Boolean, exit: String => Unit, log: String => Unit): Unit
Runs a thread that invokes exit
if the contents of processIdFile
do not match processId
.
Runs a thread that invokes exit
if the contents of processIdFile
do not match processId
.
Attributes
- Source
- Server.scala
In this article