Searched refs:TRANSCODING_STATS_DATA (Results 1 – 1 of 1) sorted by relevance
34 private static final List<TranscodingStatsData> TRANSCODING_STATS_DATA = new ArrayList<>(); field in TranscodeMetrics51 synchronized (TRANSCODING_STATS_DATA) { in pullStatsEvents()52 if (TRANSCODING_STATS_DATA.size() > STATS_DATA_SAMPLE_LIMIT) { in pullStatsEvents()63 synchronized (TRANSCODING_STATS_DATA) { in getStatsEvents()66 int dataCountToFill = Math.min(TRANSCODING_STATS_DATA.size(), STATS_DATA_SAMPLE_LIMIT); in getStatsEvents()68 TranscodingStatsData statsData = TRANSCODING_STATS_DATA.get(i); in getStatsEvents()92 synchronized (TRANSCODING_STATS_DATA) { in doRandomSampling()94 int randomIndex = random.nextInt(TRANSCODING_STATS_DATA.size() - i /* bound */) in doRandomSampling()96 Collections.swap(TRANSCODING_STATS_DATA, i, randomIndex); in doRandomSampling()103 synchronized (TRANSCODING_STATS_DATA) { in resetStatsData()[all …]