public class BuildThreadStateRenderer extends Object implements MultiStateRenderer
Constructor and Description |
---|
BuildThreadStateRenderer(Ansi ansi,
java.util.function.Function<Long,String> formatTimeFunction,
long currentTimeMs,
int outputMaxColumns,
long minimumDurationMillis,
Map<Long,Optional<? extends LeafEvent>> runningStepsByThread,
BuildRuleThreadTracker buildRuleThreadTracker) |
Modifier and Type | Method and Description |
---|---|
String |
getExecutorCollectionLabel() |
int |
getExecutorCount() |
com.google.common.collect.ImmutableList<Long> |
getSortedIds(boolean sortByTime) |
String |
renderShortStatus(long threadId) |
String |
renderStatusLine(long threadId) |
public BuildThreadStateRenderer(Ansi ansi, java.util.function.Function<Long,String> formatTimeFunction, long currentTimeMs, int outputMaxColumns, long minimumDurationMillis, Map<Long,Optional<? extends LeafEvent>> runningStepsByThread, BuildRuleThreadTracker buildRuleThreadTracker)
public String getExecutorCollectionLabel()
getExecutorCollectionLabel
in interface MultiStateRenderer
public int getExecutorCount()
getExecutorCount
in interface MultiStateRenderer
public com.google.common.collect.ImmutableList<Long> getSortedIds(boolean sortByTime)
getSortedIds
in interface MultiStateRenderer
public String renderStatusLine(long threadId)
renderStatusLine
in interface MultiStateRenderer
public String renderShortStatus(long threadId)
renderShortStatus
in interface MultiStateRenderer