You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2021/11/19 19:44:33 UTC
[geode] 13/16: Fix legacy process stats sample.
This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch wip/oshi-multios-stats-module
in repository https://gitbox.apache.org/repos/asf/geode.git
commit 2a3b2af8a148fe289679f6e36e91a7701acb227e
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Wed Nov 17 11:23:02 2021 -0800
Fix legacy process stats sample.
---
.../geode/internal/statistics/legacy/LegacyOsStatisticsProvider.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/geode-core/src/main/java/org/apache/geode/internal/statistics/legacy/LegacyOsStatisticsProvider.java b/geode-core/src/main/java/org/apache/geode/internal/statistics/legacy/LegacyOsStatisticsProvider.java
index a40fadf..349b7ee 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/statistics/legacy/LegacyOsStatisticsProvider.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/statistics/legacy/LegacyOsStatisticsProvider.java
@@ -120,8 +120,8 @@ public class LegacyOsStatisticsProvider implements OsStatisticsProvider {
refreshSystem(systemStatistics);
}
- void sampleProcess() {
- refreshSystem(processStatistics);
+ private void sampleProcess() {
+ refreshProcess(processStatistics);
}
@Override