mill.internal
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- AnsiNav.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- AnsiNav.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AnsiNav.type
Attributes
- Source
- BspLogger.scala
- Supertypes
Attributes
- Source
- BuildFileDiscovery.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuildFileDiscovery.type
Attributes
- Source
- CodeSigUtils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CodeSigUtils.type
Attributes
- Companion
- object
- Source
- Colors.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object BlackWhiteobject Default
Attributes
- Companion
- class
- Source
- Colors.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Colors.type
A version of java.util.concurrent.locks.ReadWriteLock that can be acquired and released on separate threads. label is the human-readable name used in waiting/blocking messages; uniqueness across locks is the registry's responsibility (e.g. LauncherLockRegistry's map key), not the lock's.
A version of java.util.concurrent.locks.ReadWriteLock that can be acquired and released on separate threads. label is the human-readable name used in waiting/blocking messages; uniqueness across locks is the registry's responsibility (e.g. LauncherLockRegistry's map key), not the lock's.
Attributes
- Companion
- object
- Source
- CrossThreadRwLock.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- CrossThreadRwLock.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CrossThreadRwLock.type
Attributes
- Source
- FileLogger.scala
- Supertypes
Builds invalidation trees for displaying task invalidation reasons. Used by mill-invalidation-tree.json and selective.resolveTree.
Builds invalidation trees for displaying task invalidation reasons. Used by mill-invalidation-tree.json and selective.resolveTree.
Attributes
- Source
- InvalidationForest.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InvalidationForest.type
Attributes
- Companion
- object
- Source
- JsonArrayLogger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ChromeProfileclass Profile
Attributes
- Companion
- class
- Source
- JsonArrayLogger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsonArrayLogger.type
Prefixes the first and each new line with a dynamically provided prefix, and buffers up each line in memory before writing to the out stream to prevent individual lines from being mixed together
Prefixes the first and each new line with a dynamically provided prefix, and buffers up each line in memory before writing to the out stream to prevent individual lines from being mixed together
Value parameters
- linePrefix
-
The function to provide the prefix.
- out
-
The underlying output stream.
Attributes
- Source
- LineBufferingOutputStream.scala
- Supertypes
-
class OutputStreamtrait Flushabletrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
Helpers for the common "check under a read lock, then optionally re-run under a write lock" pattern.
Helpers for the common "check under a read lock, then optionally re-run under a write lock" pattern.
Attributes
- Source
- LockUpgrade.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LockUpgrade.type
Attributes
- Companion
- object
- Source
- MillCliConfig.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- MillCliConfig.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MillCliConfig.type
Attributes
- Source
- MultiLogger.scala
- Supertypes
Attributes
- Source
- MultiStream.scala
- Supertypes
-
class PrintStreamtrait Appendableclass FilterOutputStreamclass OutputStreamtrait Flushabletrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
Fork of java.io.Piped{Input,Output}Stream that allows writes to come from separate threads. Really the same logic just with the assertions on thread liveness removed, added some synchronization to ensure atomic writes, and somewhat cleaned up as a single object rather than two loose objects you have to connect together.
Fork of java.io.Piped{Input,Output}Stream that allows writes to come from separate threads. Really the same logic just with the assertions on thread liveness removed, added some synchronization to ensure atomic writes, and somewhat cleaned up as a single object rather than two loose objects you have to connect together.
Attributes
- Source
- PipeStreams.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Configures a logger that prefixes lines of logs.
Configures a logger that prefixes lines of logs.
Generates log lines of the form
[$parentKeys-$key0/$keySuffix] $message [$parentKeys-$key0] ...logs... [$parentKeys-$key0] ...logs... [$parentKeys-$key0] ...logs...
And a prompt line of the form
[$parentKeys-$key0] $message
Attributes
- Source
- PrefixLogger.scala
- Supertypes
Gnarly multithreaded stateful code to handle the terminal prompt and log prefixer that Mill shows to tell the user what is running.
Gnarly multithreaded stateful code to handle the terminal prompt and log prefixer that Mill shows to tell the user what is running.
Most operations that update mutable state or writes to parent systemStreams0 is synchronized under the PromptLogger object. Notably, child writes to streams are not synchronized, and instead goes into a PipeStreams buffer to be read out and handled asynchronously.
Attributes
- Companion
- object
- Source
- PromptLogger.scala
- Supertypes
Attributes
- Companion
- class
- Source
- PromptLogger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PromptLogger.type
Wires lock-wait status into the multi-line prompt. Two flavours:
Wires lock-wait status into the multi-line prompt. Two flavours:
- When the supplied logger already has an active prompt-line (e.g. a per-task
PrefixLoggerset up via Logger.withPromptLine), wait status is rendered as the detail suffix of that existing line so the user sees "task-name | blocked on ..." attached to the row that's already in their multi-line prompt. - When there's no preexisting prompt-line for this logger's key (e.g. the launcher session logger during meta-build / exclusive-lock acquisition, where no batch-row has been opened yet), each
reportWaitopens a fresh synthetic prompt-line for the duration of the wait and removes it on close. Without this,setPromptDetailwould write a detail for a key that the prompt isn't displaying, and nothing would appear.
If the prompt isn't live (enableTicker == false, BSP, --ticker false, no-daemon early bootstrap), degrades to a one-shot stderr line so non-interactive runs still see the wait.
Attributes
- Source
- PromptWaitReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PromptWaitReporter.type
Algorithm to compute the minimal spanning forest of a directed acyclic graph that covers a particular subset of importantVertices (a "Steiner Forest"), minimizing the maximum height of the resultant trees. When multiple solutions exist with the same height, one chosen is arbitrarily. (This is much simpler than the "real" algorithm which aims to minimize the sum of edge/vertex weights)
Algorithm to compute the minimal spanning forest of a directed acyclic graph that covers a particular subset of importantVertices (a "Steiner Forest"), minimizing the maximum height of the resultant trees. When multiple solutions exist with the same height, one chosen is arbitrarily. (This is much simpler than the "real" algorithm which aims to minimize the sum of edge/vertex weights)
Returns the forest as a Node structure with the top-level node containing the roots of the forest
Attributes
- Source
- SpanningForest.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SpanningForest.type
Attributes
- Source
- Tarjans.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Tarjans.type
Attributes
- Source
- Util.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Util.type