public class VertexThreadInfoTrackerBuilder extends Object
VertexThreadInfoTracker.public VertexThreadInfoTrackerBuilder setCoordinator(ThreadInfoRequestCoordinator coordinator)
cleanUpInterval.coordinator - Coordinator for thread info stats request.public VertexThreadInfoTrackerBuilder setCleanUpInterval(java.time.Duration cleanUpInterval)
cleanUpInterval.cleanUpInterval - Clean up interval for completed stats.public VertexThreadInfoTrackerBuilder setNumSamples(int numSamples)
numSamples.numSamples - Number of thread info samples to collect for each subtask.public VertexThreadInfoTrackerBuilder setStatsRefreshInterval(java.time.Duration statsRefreshInterval)
statsRefreshInterval.statsRefreshInterval - Time interval after which the available thread info stats are
deprecated and need to be refreshed.public VertexThreadInfoTrackerBuilder setDelayBetweenSamples(java.time.Duration delayBetweenSamples)
delayBetweenSamples.delayBetweenSamples - Delay between individual samples per task.public VertexThreadInfoTrackerBuilder setMaxThreadInfoDepth(int maxThreadInfoDepth)
delayBetweenSamples.maxThreadInfoDepth - Limit for the depth of the stack traces included when sampling
threads.public VertexThreadInfoTracker build()
VertexThreadInfoTracker.VertexThreadInfoTracker instance.public static VertexThreadInfoTrackerBuilder newBuilder(GatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever, ScheduledExecutorService executor, org.apache.flink.api.common.time.Time restTimeout)
VertexThreadInfoTrackerBuilder.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.