Class TelemetryRegistry
- java.lang.Object
-
- org.camunda.bpm.engine.impl.telemetry.TelemetryRegistry
-
public class TelemetryRegistry extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationServerImplapplicationServerprotected StringcamundaIntegrationprotected Map<String,CommandCounter>commandsprotected LicenseKeyDataImpllicenseKeyprotected AtomicBooleantelemetryLocallyActivatedprotected Set<String>webapps
-
Constructor Summary
Constructors Constructor Description TelemetryRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddWebapp(String webapp)voidclear()voidclearCommandCounts()ApplicationServerImplgetApplicationServer()StringgetCamundaIntegration()Map<String,CommandCounter>getCommands()LicenseKeyDataImplgetLicenseKey()Set<String>getWebapps()booleanisTelemetryLocallyActivated()voidmarkOccurrence(String name)voidmarkOccurrence(String name, long times)voidsetApplicationServer(String applicationServerVersion)voidsetCamundaIntegration(String camundaIntegration)voidsetLicenseKey(LicenseKeyDataImpl licenseKey)booleansetTelemetryLocallyActivated(boolean activated)voidsetWebapps(Set<String> webapps)
-
-
-
Field Detail
-
commands
protected Map<String,CommandCounter> commands
-
applicationServer
protected ApplicationServerImpl applicationServer
-
licenseKey
protected LicenseKeyDataImpl licenseKey
-
camundaIntegration
protected String camundaIntegration
-
telemetryLocallyActivated
protected AtomicBoolean telemetryLocallyActivated
-
-
Method Detail
-
getApplicationServer
public ApplicationServerImpl getApplicationServer()
-
setApplicationServer
public void setApplicationServer(String applicationServerVersion)
-
getCommands
public Map<String,CommandCounter> getCommands()
-
getCamundaIntegration
public String getCamundaIntegration()
-
setCamundaIntegration
public void setCamundaIntegration(String camundaIntegration)
-
getLicenseKey
public LicenseKeyDataImpl getLicenseKey()
-
setLicenseKey
public void setLicenseKey(LicenseKeyDataImpl licenseKey)
-
markOccurrence
public void markOccurrence(String name)
-
markOccurrence
public void markOccurrence(String name, long times)
-
addWebapp
public void addWebapp(String webapp)
-
isTelemetryLocallyActivated
public boolean isTelemetryLocallyActivated()
-
setTelemetryLocallyActivated
public boolean setTelemetryLocallyActivated(boolean activated)
- Returns:
- previous value
-
clearCommandCounts
public void clearCommandCounts()
-
clear
public void clear()
-
-