Skip to content

Commit 99addf1

Browse files
committed
[SPARK-26329][CORE] Make TCMP case class private.
1 parent fbb55bf commit 99addf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/executor/ExecutorMetricsPoller.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private[spark] class ExecutorMetricsPoller(
6060

6161
type StageKey = (Int, Int)
6262
// Task Count and Metric Peaks
63-
case class TCMP(count: AtomicLong, peaks: AtomicLongArray)
63+
private case class TCMP(count: AtomicLong, peaks: AtomicLongArray)
6464

6565
// Map of (stageId, stageAttemptId) to (count of running tasks, executor metric peaks)
6666
private val stageTCMP = new ConcurrentHashMap[StageKey, TCMP]

0 commit comments

Comments
 (0)