Class TelemetryRegistry


  • public class TelemetryRegistry
    extends java.lang.Object
    • Field Detail

      • commands

        protected java.util.Map<java.lang.String,​CommandCounter> commands
      • camundaIntegration

        protected java.lang.String camundaIntegration
      • webapps

        protected java.util.Set<java.lang.String> webapps
      • telemetryLocallyActivated

        protected java.util.concurrent.atomic.AtomicBoolean telemetryLocallyActivated
    • Constructor Detail

      • TelemetryRegistry

        public TelemetryRegistry()
    • Method Detail

      • setApplicationServer

        public void setApplicationServer​(java.lang.String applicationServerVersion)
      • getCommands

        public java.util.Map<java.lang.String,​CommandCounter> getCommands()
      • getCamundaIntegration

        public java.lang.String getCamundaIntegration()
      • setCamundaIntegration

        public void setCamundaIntegration​(java.lang.String camundaIntegration)
      • getWebapps

        public java.util.Set<java.lang.String> getWebapps()
      • setWebapps

        public void setWebapps​(java.util.Set<java.lang.String> webapps)
      • markOccurrence

        public void markOccurrence​(java.lang.String name)
      • markOccurrence

        public void markOccurrence​(java.lang.String name,
                                   long times)
      • addWebapp

        public void addWebapp​(java.lang.String webapp)
      • isTelemetryLocallyActivated

        public boolean isTelemetryLocallyActivated()
      • setTelemetryLocallyActivated

        public boolean setTelemetryLocallyActivated​(boolean activated)
        Returns:
        previous value
      • clearCommandCounts

        public void clearCommandCounts()
      • clear

        public void clear()